Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007624/0.0007624, allocations: 102.1 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000864/0.0008642, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246 MB, free: 10.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2037/0.2037, allocations: 45.92 MB / 344.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.000283, allocations: 8 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.152, allocations: 63.48 MB / 481.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.00281/0.1549, allocations: 1.446 MB / 483.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.157, allocations: 0.9518 MB / 484.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.403e-05/0.1571, allocations: 0 / 484.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004047/0.1576, allocations: 83.77 kB / 484.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.158, allocations: 103.7 kB / 484.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.1584, allocations: 91.83 kB / 484.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.1586, allocations: 99.67 kB / 484.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1587, allocations: 19.98 kB / 484.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.1588, allocations: 51.7 kB / 484.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.159, allocations: 55.81 kB / 484.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.159, allocations: 0 / 484.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.1592, allocations: 51.98 kB / 484.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.224e-05/0.1592, allocations: 15.92 kB / 484.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.115e-05/0.1593, allocations: 45.64 kB / 484.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.1595, allocations: 108 kB / 484.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1596, allocations: 0 / 484.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1596, allocations: 0 / 484.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1596, allocations: 7.938 kB / 484.8 MB, free: 2.078 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.0006754/0.1603, allocations: 418.8 kB / 485.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.1603, allocations: 12.03 kB / 485.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.603e-05/0.1604, allocations: 34.56 kB / 485.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.1604, allocations: 11.81 kB / 485.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.1607, allocations: 224.3 kB / 485.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1608, allocations: 8 kB / 485.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.1608, allocations: 4 kB / 485.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.161, allocations: 65.59 kB / 485.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.161, allocations: 0 / 485.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.161, allocations: 0 / 485.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.161, allocations: 0 / 485.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.1612, allocations: 23.98 kB / 485.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.1617, allocations: 308.8 kB / 485.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.162, allocations: 58.48 kB / 485.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.582e-05/0.162, allocations: 28.95 kB / 485.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.1621, allocations: 4 kB / 485.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.1623, allocations: 63.39 kB / 486 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.1623, allocations: 8 kB / 486 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009321/0.1632, allocations: 257.3 kB / 486.3 MB, free: 404 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.1633, allocations: 51.41 kB / 486.3 MB, free: 340 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.1637, allocations: 238.1 kB / 486.5 MB, free: 92 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1637, allocations: 33.7 kB / 486.6 MB, free: 52 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8e-05/0.1638, allocations: 104.1 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.1638, allocations: 39.45 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.1638, allocations: 4 kB / 486.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.164, allocations: 326.8 kB / 487 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.798e-05/0.164, allocations: 27.98 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.625e-05/0.1641, allocations: 53.2 kB / 487.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.583e-05/0.1642, allocations: 31.98 kB / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1642, allocations: 0 / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002046/0.1644, allocations: 129.5 kB / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1644, allocations: 8.031 kB / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1645, allocations: 4 kB / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1645, allocations: 3.953 kB / 487.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.484e-05/0.1645, allocations: 16 kB / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1646, allocations: 4 kB / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.746e-05/0.1646, allocations: 7.984 kB / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1646, allocations: 8 kB / 487.3 MB, free: 15.28 MB / 366.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.1647, allocations: 136.7 kB / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.1648, allocations: 15.81 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.67e-05/0.1648, allocations: 21.41 kB / 487.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1648, allocations: 3.938 kB / 487.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.927e-05/0.1649, allocations: 3.953 kB / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.1649, allocations: 3.984 kB / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.1654, allocations: 452 kB / 488 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1654, allocations: 3.984 kB / 488 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.1654, allocations: 20.02 kB / 488 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1655, allocations: 4 kB / 488 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1655, allocations: 4 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1655, allocations: 0 / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1655, allocations: 4 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1657, allocations: 236.9 kB / 488.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.1658, allocations: 88.92 kB / 488.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.1658, allocations: 15.94 kB / 488.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.1659, allocations: 0 / 488.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.166, allocations: 11.98 kB / 488.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.166, allocations: 8 kB / 488.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.1661, allocations: 172.4 kB / 488.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1661, allocations: 0 / 488.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1664, allocations: 24 kB / 488.5 MB, free: 13.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001724/0.1681, allocations: 1.177 MB / 489.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.1684, allocations: 83.84 kB / 489.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1684, allocations: 0 / 489.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.307e-05/0.1685, allocations: 43.92 kB / 489.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.1688, allocations: 32.16 kB / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.1702, allocations: 0.8704 MB / 490.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.1706, allocations: 0.716 MB / 491.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.541e-05/0.1706, allocations: 12.64 kB / 491.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.767e-05/0.1707, allocations: 47.42 kB / 491.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1707, allocations: 0 / 491.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01449/0.1852, allocations: 3.473 MB / 495 MB, free: 7.711 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/0.1856, allocations: 226.1 kB / 495.2 MB, free: 7.469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.12, allocations: 0 / 495.2 MB, free: 7.469 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat does not exist to compare? outputFormat=mat