Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009681/0.0009681, allocations: 95.38 kB / 17 MB, free: 6.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 197 kB / 17.91 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 45.92 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003719, allocations: 11.94 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1332, allocations: 63.47 MB / 481.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003043/0.1363, allocations: 1.907 MB / 483.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002389/0.1387, allocations: 1.284 MB / 484.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.139, allocations: 7.938 kB / 484.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004572/0.1395, allocations: 107.6 kB / 485 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006601/0.1402, allocations: 207.2 kB / 485.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.1412, allocations: 275 kB / 485.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000776/0.142, allocations: 394.7 kB / 485.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.1422, allocations: 57.25 kB / 485.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005854/0.1428, allocations: 223 kB / 486.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.1432, allocations: 139.3 kB / 486.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.709e-05/0.1432, allocations: 8 kB / 486.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.1435, allocations: 63.97 kB / 486.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.1437, allocations: 111.5 kB / 486.4 MB, free: 472 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.1438, allocations: 97.39 kB / 486.5 MB, free: 368 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004572/0.1443, allocations: 315.6 kB / 486.8 MB, free: 52 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.1443, allocations: 0 / 486.8 MB, free: 52 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1443, allocations: 3.938 kB / 486.8 MB, free: 48 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.1444, allocations: 0 / 486.8 MB, free: 48 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001281/0.1456, allocations: 0.7469 MB / 487.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.1457, allocations: 12.03 kB / 487.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.758e-05/0.1458, allocations: 50.48 kB / 487.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.931e-05/0.1459, allocations: 59.25 kB / 487.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006209/0.1465, allocations: 391.7 kB / 488.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.1466, allocations: 15.98 kB / 488.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.1466, allocations: 12 kB / 488.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/0.147, allocations: 193.5 kB / 488.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.1471, allocations: 7.844 kB / 488.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.1471, allocations: 8 kB / 488.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1471, allocations: 4 kB / 488.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002369/0.1474, allocations: 91.88 kB / 488.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.1485, allocations: 0.8055 MB / 489.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/0.1492, allocations: 238.5 kB / 489.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.1493, allocations: 83.53 kB / 489.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.406e-05/0.1494, allocations: 15.92 kB / 489.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004004/0.1498, allocations: 200.4 kB / 489.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.094e-06/0.1498, allocations: 0 / 489.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002545/0.1524, allocations: 1.11 MB / 490.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.144e-05/0.1525, allocations: 140.5 kB / 491 MB, free: 11.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009431/0.1534, allocations: 0.7892 MB / 491.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.1535, allocations: 45.64 kB / 491.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.1537, allocations: 240.9 kB / 492 MB, free: 10.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.1538, allocations: 142.1 kB / 492.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.87e-05/0.1538, allocations: 8 kB / 492.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.154, allocations: 374.8 kB / 492.5 MB, free: 9.984 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.1542, allocations: 108.8 kB / 492.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.1545, allocations: 191.2 kB / 492.8 MB, free: 9.668 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.1548, allocations: 136.2 kB / 493 MB, free: 9.535 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1548, allocations: 0 / 493 MB, free: 9.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007255/0.1555, allocations: 432.5 kB / 493.4 MB, free: 9.105 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.1555, allocations: 11.98 kB / 493.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1555, allocations: 0 / 493.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.1556, allocations: 4 kB / 493.4 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.1558, allocations: 91.84 kB / 493.5 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.1559, allocations: 7.953 kB / 493.5 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.156, allocations: 20.11 kB / 493.5 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.1561, allocations: 16.23 kB / 493.5 MB, free: 8.957 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002445/0.1563, allocations: 232 kB / 493.8 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-05/0.1564, allocations: 67.14 kB / 493.8 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.1565, allocations: 80.91 kB / 493.9 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.1565, allocations: 8 kB / 493.9 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.1566, allocations: 0 / 493.9 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.1566, allocations: 7.938 kB / 493.9 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.1582, allocations: 1.303 MB / 495.2 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.1582, allocations: 4 kB / 495.2 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.1583, allocations: 60.28 kB / 495.3 MB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.1584, allocations: 8 kB / 495.3 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.1584, allocations: 15.98 kB / 495.3 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.1584, allocations: 8 kB / 495.3 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.1584, allocations: 11.88 kB / 495.3 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008419/0.1593, allocations: 0.7814 MB / 496.1 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.1595, allocations: 184.2 kB / 496.3 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/0.1595, allocations: 16 kB / 496.3 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.1598, allocations: 19.98 kB / 496.3 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.619e-05/0.1599, allocations: 43.84 kB / 496.4 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.16, allocations: 24 kB / 496.4 MB, free: 5.938 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006481/0.1606, allocations: 0.5849 MB / 497 MB, free: 5.355 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1606, allocations: 0 / 497 MB, free: 5.355 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005329/0.1612, allocations: 84 kB / 497.1 MB, free: 5.273 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002182/0.1634, allocations: 1.744 MB / 498.8 MB, free: 3.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005938/0.164, allocations: 319.6 kB / 499.1 MB, free: 3.355 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.164, allocations: 0 / 499.1 MB, free: 3.355 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002775/0.1643, allocations: 159.7 kB / 499.3 MB, free: 3.199 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008548/0.1651, allocations: 122.8 kB / 499.4 MB, free: 3.082 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/0.1697, allocations: 3.207 MB / 0.4908 GB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.1702, allocations: 0.8863 MB / 0.4917 GB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002381/0.1705, allocations: 79.23 kB / 0.4918 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.1707, allocations: 196.1 kB / 0.492 GB, free: 14.57 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1707, allocations: 0 / 0.492 GB, free: 14.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.1939, allocations: 9.94 MB / 0.5017 GB, free: 4.789 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/0.1942, allocations: 223.9 kB / 0.5019 GB, free: 4.543 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/2.24, allocations: 4.062 kB / 0.5019 GB, free: 4.539 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat does not exist to compare? outputFormat=mat