Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001455/0.001459, allocations: 113.3 kB / 17.33 MB, free: 6.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001633/0.001633, allocations: 213.8 kB / 18.27 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.22/0.22, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 75.97 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1544, allocations: 62.44 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.004839/0.1593, allocations: 1.793 MB / 481.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.1621, allocations: 1.596 MB / 483 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.1623, allocations: 3.938 kB / 483 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003664/0.1627, allocations: 27.92 kB / 483 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005686/0.1633, allocations: 87.73 kB / 483.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.1637, allocations: 67.81 kB / 483.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002986/0.164, allocations: 111.7 kB / 483.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.1642, allocations: 15.98 kB / 483.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.1643, allocations: 47.73 kB / 483.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.1646, allocations: 47.77 kB / 483.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.1646, allocations: 12 kB / 483.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.165, allocations: 107.9 kB / 483.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.492e-05/0.1651, allocations: 27.84 kB / 483.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.373e-05/0.1652, allocations: 35.8 kB / 483.6 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005357/0.1657, allocations: 179.8 kB / 483.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.1658, allocations: 0 / 483.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1658, allocations: 0 / 483.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.1658, allocations: 0 / 483.7 MB, free: 1.352 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001107/0.1669, allocations: 435 kB / 484.2 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/0.167, allocations: 11.97 kB / 484.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.276e-05/0.167, allocations: 38.75 kB / 484.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.998e-05/0.1671, allocations: 16.84 kB / 484.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.1675, allocations: 212.1 kB / 484.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.1676, allocations: 384 / 484.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.1676, allocations: 7.938 kB / 484.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.1678, allocations: 75.38 kB / 484.5 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.1679, allocations: 4 kB / 484.5 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1679, allocations: 0 / 484.5 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.1679, allocations: 4 kB / 484.5 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.168, allocations: 31.92 kB / 484.6 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.1686, allocations: 304.6 kB / 484.9 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.1688, allocations: 70.67 kB / 484.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.604e-05/0.1689, allocations: 20.91 kB / 485 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.169, allocations: 8.016 kB / 485 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003026/0.1693, allocations: 79.3 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.1693, allocations: 0 / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007629/0.17, allocations: 197.1 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.61e-05/0.1702, allocations: 77.11 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.1704, allocations: 174.1 kB / 485.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.1705, allocations: 37.69 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.86e-05/0.1706, allocations: 100.1 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.1706, allocations: 27.64 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.977e-05/0.1707, allocations: 21.72 kB / 485.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1709, allocations: 318.8 kB / 486 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.728e-05/0.171, allocations: 27.98 kB / 486 MB, free: 14.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.1711, allocations: 58.38 kB / 486.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.1712, allocations: 77.72 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1712, allocations: 0 / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000255/0.1715, allocations: 113.4 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.1715, allocations: 4 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1715, allocations: 0 / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1716, allocations: 4 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1717, allocations: 19.92 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1717, allocations: 8.031 kB / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.167e-05/0.1718, allocations: 7.938 kB / 486.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.1718, allocations: 4 kB / 486.3 MB, free: 14.55 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.172, allocations: 120.7 kB / 486.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.172, allocations: 11.89 kB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.635e-05/0.1721, allocations: 20.7 kB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1721, allocations: 4 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.1721, allocations: 192 / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1721, allocations: 3.938 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007391/0.1729, allocations: 419.2 kB / 486.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1729, allocations: 0 / 486.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.1729, allocations: 15.92 kB / 486.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/0.173, allocations: 7.938 kB / 486.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.173, allocations: 4 kB / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.173, allocations: 4 kB / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.173, allocations: 0 / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.1734, allocations: 220.2 kB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.075e-05/0.1735, allocations: 85.02 kB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.1735, allocations: 11.94 kB / 487.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.494e-05/0.1736, allocations: 0 / 487.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.1737, allocations: 7.984 kB / 487.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.1737, allocations: 8 kB / 487.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.1739, allocations: 131.2 kB / 487.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1739, allocations: 0 / 487.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004551/0.1744, allocations: 51.92 kB / 487.4 MB, free: 13.34 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002332/0.1767, allocations: 1.184 MB / 488.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.177, allocations: 71.84 kB / 488.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.177, allocations: 0 / 488.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.1771, allocations: 39.86 kB / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.1775, allocations: 37.48 kB / 488.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.1797, allocations: 1.668 MB / 490.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.1802, allocations: 0.7045 MB / 491.1 MB, free: 9.676 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.1803, allocations: 20.78 kB / 491.1 MB, free: 9.656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.1804, allocations: 39.42 kB / 491.2 MB, free: 9.617 MB / 366.1 MB Notification: Performance of SimCode: time 9.21e-07/0.1804, allocations: 0 / 491.2 MB, free: 9.617 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.1985, allocations: 4.008 MB / 495.2 MB, free: 5.719 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/0.1988, allocations: 252.3 kB / 495.4 MB, free: 5.457 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/2.118, allocations: 0 / 495.4 MB, free: 5.457 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches