Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008659/0.0008659, allocations: 98.8 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009134/0.0009135, allocations: 193.9 kB / 17.9 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 227.3 MB / 246 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2206/0.2206, allocations: 45.91 MB / 344.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002708/0.000271, allocations: 12 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1354, allocations: 63.48 MB / 481.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002412/0.1379, allocations: 1.517 MB / 483.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.1398, allocations: 1.03 MB / 484.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1399, allocations: 0 / 484.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005603/0.1404, allocations: 307.3 kB / 484.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004642/0.1409, allocations: 231.4 kB / 484.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.1413, allocations: 143.4 kB / 484.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.1416, allocations: 223.3 kB / 485.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.577e-05/0.1417, allocations: 13.67 kB / 485.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.1419, allocations: 119.6 kB / 485.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.1421, allocations: 163.5 kB / 485.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.1421, allocations: 4 kB / 485.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.1423, allocations: 39.97 kB / 485.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.1424, allocations: 135.6 kB / 485.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.421e-05/0.1425, allocations: 81.39 kB / 485.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.1428, allocations: 283.7 kB / 485.9 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.1428, allocations: 3.984 kB / 485.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1428, allocations: 4 kB / 485.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.1428, allocations: 0 / 485.9 MB, free: 0.9922 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008561/0.1437, allocations: 0.6764 MB / 486.6 MB, free: 272 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.1438, allocations: 12.03 kB / 486.6 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.1438, allocations: 34.56 kB / 486.6 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.21e-05/0.1439, allocations: 47.44 kB / 486.7 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005423/0.1444, allocations: 438.9 kB / 487.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1445, allocations: 0 / 487.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.1445, allocations: 8 kB / 487.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.1447, allocations: 87.36 kB / 487.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1447, allocations: 0 / 487.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1447, allocations: 0 / 487.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.1447, allocations: 4 kB / 487.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.996e-05/0.1448, allocations: 31.91 kB / 487.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/0.1453, allocations: 386.3 kB / 487.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.1455, allocations: 101.2 kB / 487.7 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.14e-05/0.1456, allocations: 45.62 kB / 487.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.1457, allocations: 11.98 kB / 487.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.1459, allocations: 105 kB / 487.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.1459, allocations: 0 / 487.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004407/0.1464, allocations: 193 kB / 488.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/0.1465, allocations: 85.09 kB / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.1477, allocations: 1.061 MB / 489.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1477, allocations: 29.64 kB / 489.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.1479, allocations: 236.1 kB / 489.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.1479, allocations: 23.7 kB / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.1479, allocations: 4 kB / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1481, allocations: 370.7 kB / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.967e-05/0.1482, allocations: 27.98 kB / 489.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.769e-05/0.1483, allocations: 67.41 kB / 489.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.29e-05/0.1484, allocations: 31.98 kB / 490 MB, free: 12.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1484, allocations: 0 / 490 MB, free: 12.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002881/0.1487, allocations: 161 kB / 490.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1487, allocations: 11.94 kB / 490.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1487, allocations: 0 / 490.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1487, allocations: 4.062 kB / 490.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1489, allocations: 24.61 kB / 490.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1489, allocations: 0 / 490.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.149, allocations: 19.92 kB / 490.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.149, allocations: 4 kB / 490.2 MB, free: 12.42 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002516/0.1493, allocations: 229.7 kB / 490.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.077e-05/0.1494, allocations: 55.27 kB / 490.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.351e-05/0.1495, allocations: 60.14 kB / 490.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1495, allocations: 7.984 kB / 490.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1495, allocations: 4 kB / 490.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1495, allocations: 0 / 490.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.1499, allocations: 353.3 kB / 490.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1499, allocations: 0 / 490.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.1499, allocations: 8 kB / 490.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1499, allocations: 0 / 490.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.1499, allocations: 7.984 kB / 490.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1499, allocations: 0 / 490.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.15, allocations: 0 / 490.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.1503, allocations: 205.2 kB / 491.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.1505, allocations: 148.5 kB / 491.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.1505, allocations: 0 / 491.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-05/0.1506, allocations: 11.98 kB / 491.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.1507, allocations: 4 kB / 491.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.1507, allocations: 11.98 kB / 491.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008781/0.1516, allocations: 0.7878 MB / 492.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1516, allocations: 3.938 kB / 492.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.1519, allocations: 43.91 kB / 492.1 MB, free: 10.4 MB / 366.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0016/0.1535, allocations: 1.052 MB / 493.2 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.1538, allocations: 83.89 kB / 493.2 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1538, allocations: 0 / 493.2 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.1539, allocations: 39.92 kB / 493.3 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.1543, allocations: 58.27 kB / 493.3 MB, free: 9.289 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/0.1583, allocations: 2.965 MB / 496.3 MB, free: 6.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.1588, allocations: 0.8468 MB / 497.2 MB, free: 5.379 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000154/0.159, allocations: 59.42 kB / 497.2 MB, free: 5.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.1592, allocations: 155.4 kB / 497.4 MB, free: 5.168 MB / 366.1 MB Notification: Performance of SimCode: time 1.533e-06/0.1592, allocations: 0 / 497.4 MB, free: 5.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.1786, allocations: 8.201 MB / 0.4937 GB, free: 13.09 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/0.1789, allocations: 227.3 kB / 0.4939 GB, free: 12.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.113/2.292, allocations: 0 / 0.4939 GB, free: 12.84 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat