Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 117 kB / 18.49 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 212.7 kB / 21.45 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 230.4 MB / 254.7 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2269/0.2269, allocations: 46.91 MB / 357.7 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 87.86 kB / 0.4917 GB, free: 26.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1225, allocations: 66.04 MB / 0.5562 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003269/0.1257, allocations: 1.735 MB / 0.5579 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.1276, allocations: 1.059 MB / 0.559 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/0.1276, allocations: 0 / 0.559 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.1279, allocations: 31.78 kB / 0.559 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.1282, allocations: 99.53 kB / 0.5591 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.1284, allocations: 83.67 kB / 0.5592 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.1286, allocations: 103.7 kB / 0.5593 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.187e-05/0.1287, allocations: 20.23 kB / 0.5593 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.5e-05/0.1288, allocations: 47.78 kB / 0.5593 GB, free: 5.398 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.926e-05/0.1289, allocations: 43.77 kB / 0.5594 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.1289, allocations: 8 kB / 0.5594 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.1292, allocations: 115.9 kB / 0.5595 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.1292, allocations: 19.86 kB / 0.5595 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.301e-05/0.1293, allocations: 31.75 kB / 0.5595 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.1296, allocations: 179.3 kB / 0.5597 GB, free: 5.008 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1296, allocations: 4 kB / 0.5597 GB, free: 5.004 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1296, allocations: 4 kB / 0.5597 GB, free: 5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1296, allocations: 0 / 0.5597 GB, free: 5 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006078/0.1302, allocations: 434.5 kB / 0.5601 GB, free: 4.527 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1302, allocations: 8.031 kB / 0.5601 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.283e-05/0.1302, allocations: 8.125 kB / 0.5602 GB, free: 4.512 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.1303, allocations: 38.69 kB / 0.5602 GB, free: 4.465 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.1303, allocations: 8.891 kB / 0.5602 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.1307, allocations: 216.2 kB / 0.5604 GB, free: 4.207 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1307, allocations: 384 / 0.5604 GB, free: 4.207 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.1307, allocations: 4.375 kB / 0.5604 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.1309, allocations: 75.33 kB / 0.5605 GB, free: 4.117 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1309, allocations: 0 / 0.5605 GB, free: 4.117 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1309, allocations: 0 / 0.5605 GB, free: 4.117 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1309, allocations: 0 / 0.5605 GB, free: 4.117 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.522e-05/0.131, allocations: 27.92 kB / 0.5605 GB, free: 4.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.1314, allocations: 280.8 kB / 0.5608 GB, free: 3.766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.1316, allocations: 62.61 kB / 0.5608 GB, free: 3.695 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.359e-05/0.1317, allocations: 28.97 kB / 0.5609 GB, free: 3.664 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1317, allocations: 3.938 kB / 0.5609 GB, free: 3.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.1319, allocations: 75.38 kB / 0.5609 GB, free: 3.574 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.1319, allocations: 0 / 0.5609 GB, free: 3.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006298/0.1325, allocations: 205.3 kB / 0.5611 GB, free: 3.367 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.1326, allocations: 81.11 kB / 0.5612 GB, free: 3.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.1328, allocations: 170.1 kB / 0.5614 GB, free: 3.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.1328, allocations: 29.7 kB / 0.5614 GB, free: 3.055 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.1329, allocations: 96.12 kB / 0.5615 GB, free: 2.957 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.763e-05/0.1329, allocations: 39.72 kB / 0.5615 GB, free: 2.918 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.133, allocations: 37.66 kB / 0.5616 GB, free: 2.875 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1331, allocations: 326.8 kB / 0.5619 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.382e-05/0.1332, allocations: 27.98 kB / 0.5619 GB, free: 2.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.183e-05/0.1333, allocations: 58.48 kB / 0.562 GB, free: 2.453 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.1334, allocations: 69.7 kB / 0.562 GB, free: 2.379 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1334, allocations: 4.031 kB / 0.562 GB, free: 2.375 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002414/0.1337, allocations: 121.6 kB / 0.5622 GB, free: 2.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1337, allocations: 4 kB / 0.5622 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1337, allocations: 0 / 0.5622 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1337, allocations: 4 kB / 0.5622 GB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1338, allocations: 19.98 kB / 0.5622 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1338, allocations: 4.406 kB / 0.5622 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.517e-05/0.1339, allocations: 11.94 kB / 0.5622 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1339, allocations: 4 kB / 0.5622 GB, free: 2.203 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.134, allocations: 129.8 kB / 0.5623 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.134, allocations: 16 kB / 0.5623 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.436e-05/0.1341, allocations: 16.66 kB / 0.5624 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1341, allocations: 0 / 0.5624 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1341, allocations: 0 / 0.5624 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1341, allocations: 3.938 kB / 0.5624 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005523/0.1347, allocations: 427.2 kB / 0.5628 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1347, allocations: 4.031 kB / 0.5628 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.267e-05/0.1347, allocations: 12 kB / 0.5628 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1347, allocations: 3.938 kB / 0.5628 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.1347, allocations: 0 / 0.5628 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1347, allocations: 8 kB / 0.5628 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1347, allocations: 0 / 0.5628 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.135, allocations: 220.3 kB / 0.563 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.1351, allocations: 89 kB / 0.5631 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.1351, allocations: 7.984 kB / 0.5631 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.1352, allocations: 4 kB / 0.5631 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.1352, allocations: 4 kB / 0.5631 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.1352, allocations: 7.984 kB / 0.5631 GB, free: 1.164 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.1353, allocations: 127.1 kB / 0.5632 GB, free: 1.039 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1353, allocations: 0 / 0.5632 GB, free: 1.039 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003122/0.1357, allocations: 59.75 kB / 0.5633 GB, free: 0.9805 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002468/0.1381, allocations: 1.199 MB / 0.5645 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.1384, allocations: 71.89 kB / 0.5645 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1384, allocations: 0 / 0.5645 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.681e-05/0.1385, allocations: 39.91 kB / 0.5646 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.1388, allocations: 49.09 kB / 0.5646 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.1407, allocations: 1.661 MB / 0.5662 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.1411, allocations: 0.7006 MB / 0.5669 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.661e-05/0.1411, allocations: 28.78 kB / 0.5669 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.68e-05/0.1412, allocations: 39.42 kB / 0.567 GB, free: 13.24 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1412, allocations: 4 kB / 0.567 GB, free: 13.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.1616, allocations: 4.293 MB / 0.5712 GB, free: 8.969 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.213, allocations: 9.875 kB / 0.5712 GB, free: 8.961 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.168306579987984] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.392656404990703 8.418618392 8.283508347 Calling exit ...