Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001064, allocations: 97.72 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001298, allocations: 194.8 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 45.92 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002668/0.0002669, allocations: 15.94 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.152, allocations: 63.48 MB / 481.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002762/0.1548, allocations: 1.427 MB / 483.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.1567, allocations: 0.9479 MB / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.315e-05/0.1568, allocations: 0 / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.1571, allocations: 39.83 kB / 484.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.1575, allocations: 75.73 kB / 484.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.1579, allocations: 91.2 kB / 484.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.1582, allocations: 83.7 kB / 484.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1583, allocations: 19.97 kB / 484.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.1584, allocations: 35.8 kB / 484.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.251e-05/0.1585, allocations: 31.8 kB / 484.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.1585, allocations: 0 / 484.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.1587, allocations: 39.97 kB / 484.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.1587, allocations: 23.86 kB / 484.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.452e-05/0.1588, allocations: 37.64 kB / 484.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.159, allocations: 88.09 kB / 484.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.159, allocations: 3.938 kB / 484.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.159, allocations: 4 kB / 484.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.159, allocations: 0 / 484.6 MB, free: 2.289 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004931/0.1595, allocations: 395 kB / 485 MB, free: 1.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1596, allocations: 12.03 kB / 485 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.808e-05/0.1597, allocations: 30.56 kB / 485 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.1597, allocations: 11.81 kB / 485 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.16, allocations: 206.8 kB / 485.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1601, allocations: 0 / 485.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.1601, allocations: 8 kB / 485.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.1603, allocations: 57.61 kB / 485.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1603, allocations: 0 / 485.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1603, allocations: 0 / 485.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1603, allocations: 0 / 485.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.823e-05/0.1604, allocations: 19.98 kB / 485.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.1609, allocations: 284.9 kB / 485.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.1612, allocations: 70.59 kB / 485.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.063e-05/0.1612, allocations: 20.84 kB / 485.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1613, allocations: 0 / 485.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.1615, allocations: 67.39 kB / 485.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 4.137e-06/0.1615, allocations: 0 / 485.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007025/0.1622, allocations: 185.1 kB / 485.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.1623, allocations: 55.36 kB / 486 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.1624, allocations: 172.8 kB / 486.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1625, allocations: 33.7 kB / 486.2 MB, free: 492 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/0.1625, allocations: 108 kB / 486.3 MB, free: 380 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.1626, allocations: 23.7 kB / 486.3 MB, free: 356 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.1626, allocations: 0 / 486.3 MB, free: 356 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1627, allocations: 322.8 kB / 486.6 MB, free: 24 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.401e-05/0.1627, allocations: 20 kB / 486.7 MB, free: 4 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.1629, allocations: 41.64 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.809e-05/0.163, allocations: 23.98 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.163, allocations: 0 / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002683/0.1633, allocations: 97.77 kB / 486.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1633, allocations: 7.938 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1633, allocations: 8.312 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1633, allocations: 4.031 kB / 486.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1635, allocations: 15.98 kB / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.1635, allocations: 3.953 kB / 486.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.1636, allocations: 8 kB / 486.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.1636, allocations: 8 kB / 486.9 MB, free: 15.78 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 (10): * Single equations (assignments): 10 * 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.0001192/0.1637, allocations: 121.8 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.1638, allocations: 7.906 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.1638, allocations: 13.41 kB / 487 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.804e-05/0.1639, allocations: 4 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1639, allocations: 4 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.1639, allocations: 7.938 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.1644, allocations: 391.2 kB / 487.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1644, allocations: 0 / 487.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.1645, allocations: 11.94 kB / 487.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.1645, allocations: 4 kB / 487.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1645, allocations: 0 / 487.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/0.1645, allocations: 8.172 kB / 487.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1645, allocations: 8.031 kB / 487.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.1647, allocations: 196.3 kB / 487.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.1648, allocations: 92.92 kB / 487.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.1648, allocations: 4 kB / 487.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.734e-05/0.1649, allocations: 7.922 kB / 487.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.165, allocations: 11.95 kB / 487.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.165, allocations: 8 kB / 487.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1651, allocations: 148.8 kB / 487.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1651, allocations: 0 / 487.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003481/0.1655, allocations: 24 kB / 487.9 MB, free: 14.62 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: 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 (8): * Single equations (assignments): 6 * 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.001387/0.1669, allocations: 1.079 MB / 489 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.167, allocations: 51.92 kB / 489 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1671, allocations: 64 / 489 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.016e-05/0.1671, allocations: 39.92 kB / 489.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.1675, allocations: 35.86 kB / 489.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.1686, allocations: 0.6958 MB / 489.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.1691, allocations: 0.7004 MB / 490.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.416e-05/0.1691, allocations: 29.17 kB / 490.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.1692, allocations: 39.41 kB / 490.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1692, allocations: 0 / 490.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.185, allocations: 2.938 MB / 493.5 MB, free: 9.199 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003819/0.1854, allocations: 227.9 kB / 493.7 MB, free: 8.949 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.031, allocations: 0 / 493.7 MB, free: 8.949 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat