Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008349/0.0008347, allocations: 97.98 kB / 17 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008857/0.0008858, allocations: 196.7 kB / 17.91 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 246 MB, free: 10.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2059/0.2059, allocations: 45.92 MB / 344.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004456, allocations: 11.94 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1564, allocations: 63.47 MB / 481.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002362/0.1588, allocations: 1.427 MB / 483.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.1605, allocations: 0.9479 MB / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.401e-05/0.1606, allocations: 0 / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.1609, allocations: 43.83 kB / 484.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.1612, allocations: 75.73 kB / 484.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.1615, allocations: 87.83 kB / 484.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.1616, allocations: 91.69 kB / 484.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.001e-05/0.1617, allocations: 8 kB / 484.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.868e-05/0.1618, allocations: 39.78 kB / 484.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.36e-05/0.1619, allocations: 35.78 kB / 484.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.1619, allocations: 0 / 484.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-05/0.162, allocations: 32 kB / 484.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.479e-05/0.162, allocations: 23.91 kB / 484.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.1621, allocations: 37.64 kB / 484.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.1622, allocations: 92.08 kB / 484.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1622, allocations: 4 kB / 484.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1623, allocations: 3.938 kB / 484.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1623, allocations: 0 / 484.6 MB, free: 2.285 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.0005524/0.1628, allocations: 402.9 kB / 485 MB, free: 1.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1629, allocations: 8.031 kB / 485 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.1629, allocations: 34.56 kB / 485 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.163, allocations: 7.906 kB / 485 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.1632, allocations: 207.5 kB / 485.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.1632, allocations: 4 kB / 485.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.1632, allocations: 7.938 kB / 485.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1634, allocations: 57.67 kB / 485.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1634, allocations: 0 / 485.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1634, allocations: 0 / 485.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1634, allocations: 0 / 485.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.187e-05/0.1635, allocations: 19.98 kB / 485.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.1639, allocations: 292.8 kB / 485.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.164, allocations: 62.61 kB / 485.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.238e-05/0.1641, allocations: 20.84 kB / 485.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.1641, allocations: 4 kB / 485.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.1643, allocations: 67.33 kB / 485.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.1643, allocations: 4 kB / 485.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005501/0.1649, allocations: 181.2 kB / 485.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.1649, allocations: 63.28 kB / 486 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.1652, allocations: 190.9 kB / 486.2 MB, free: 492 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.1652, allocations: 29.7 kB / 486.2 MB, free: 456 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.1653, allocations: 96.14 kB / 486.3 MB, free: 356 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.1653, allocations: 23.7 kB / 486.3 MB, free: 332 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.1653, allocations: 0 / 486.3 MB, free: 332 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.1655, allocations: 326.9 kB / 486.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.1656, allocations: 27.92 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.307e-05/0.1656, allocations: 33.7 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.664e-05/0.1657, allocations: 20 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1657, allocations: 0 / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00019/0.1659, allocations: 109.4 kB / 486.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1659, allocations: 7.984 kB / 486.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.166, allocations: 4.031 kB / 486.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.166, allocations: 0 / 486.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/0.1661, allocations: 16 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1661, allocations: 3.953 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.875e-05/0.1661, allocations: 4 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1662, allocations: 8.141 kB / 486.9 MB, free: 15.75 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.0001034/0.1663, allocations: 125.8 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.1663, allocations: 11.84 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.522e-05/0.1664, allocations: 21.38 kB / 487 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1664, allocations: 8 kB / 487.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.1664, allocations: 0 / 487.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1664, allocations: 7.891 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.1669, allocations: 387.3 kB / 487.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1669, allocations: 4 kB / 487.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.1669, allocations: 16.3 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1669, allocations: 0 / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1669, allocations: 4 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.167, allocations: 11.98 kB / 487.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.167, allocations: 4 kB / 487.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.1672, allocations: 192.3 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.1672, allocations: 97.09 kB / 487.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.1673, allocations: 0 / 487.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.1673, allocations: 7.938 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.1674, allocations: 23.81 kB / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.1674, allocations: 4 kB / 487.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001253/0.1675, allocations: 152.7 kB / 487.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1675, allocations: 0 / 487.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1678, allocations: 20 kB / 488 MB, free: 14.57 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.001499/0.1693, allocations: 1.078 MB / 489 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.1695, allocations: 59.91 kB / 489.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1695, allocations: 0 / 489.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.994e-05/0.1696, allocations: 31.92 kB / 489.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.17, allocations: 31.92 kB / 489.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.1712, allocations: 0.7276 MB / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.1716, allocations: 0.7082 MB / 490.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.172e-05/0.1716, allocations: 16.88 kB / 490.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.1717, allocations: 39.41 kB / 490.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1717, allocations: 0 / 490.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.1864, allocations: 3.006 MB / 493.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/0.1867, allocations: 223.5 kB / 493.9 MB, free: 8.816 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.043, allocations: 0 / 493.9 MB, free: 8.816 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat does not exist to compare? outputFormat=mat