Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001201/0.001201, allocations: 116.1 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00118/0.00118, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 46.1 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 75.91 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1563, allocations: 62.44 MB / 479.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.004358/0.1607, allocations: 1.797 MB / 481.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.1628, allocations: 0.9939 MB / 482.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.163, allocations: 0 / 482.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004201/0.1634, allocations: 43.83 kB / 482.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004373/0.1639, allocations: 87.73 kB / 482.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.1642, allocations: 63.81 kB / 482.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.1645, allocations: 107.7 kB / 482.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1646, allocations: 11.98 kB / 482.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.1648, allocations: 39.8 kB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.918e-05/0.1649, allocations: 35.78 kB / 482.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1649, allocations: 8 kB / 482.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.1651, allocations: 47.92 kB / 482.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.1651, allocations: 23.92 kB / 482.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.88e-05/0.1652, allocations: 39.72 kB / 482.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.1655, allocations: 111.9 kB / 483 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1655, allocations: 0 / 483 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.1655, allocations: 0 / 483 MB, free: 2.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.1655, allocations: 4 kB / 483 MB, free: 2.109 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.0006892/0.1662, allocations: 414.9 kB / 483.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.1663, allocations: 8.031 kB / 483.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.656e-05/0.1664, allocations: 46.69 kB / 483.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.002e-05/0.1664, allocations: 8.844 kB / 483.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.1667, allocations: 210.6 kB / 483.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1668, allocations: 384 / 483.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.1668, allocations: 11.94 kB / 483.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.167, allocations: 49.67 kB / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.167, allocations: 3.906 kB / 483.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.167, allocations: 4 kB / 483.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1671, allocations: 0 / 483.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.346e-05/0.1672, allocations: 23.98 kB / 483.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.1676, allocations: 296.8 kB / 484.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.1678, allocations: 54.62 kB / 484.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.48e-05/0.1679, allocations: 24.84 kB / 484.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.1679, allocations: 7.984 kB / 484.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002568/0.1682, allocations: 67.33 kB / 484.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.1682, allocations: 0 / 484.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000623/0.1688, allocations: 173.2 kB / 484.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.1689, allocations: 51.41 kB / 484.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.1691, allocations: 198.7 kB / 484.6 MB, free: 296 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.1692, allocations: 29.7 kB / 484.7 MB, free: 260 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.1692, allocations: 104.1 kB / 484.8 MB, free: 152 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.1693, allocations: 19.72 kB / 484.8 MB, free: 132 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/0.1693, allocations: 29.7 kB / 484.8 MB, free: 96 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1695, allocations: 318.8 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.957e-05/0.1696, allocations: 20 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.02e-05/0.1697, allocations: 37.7 kB / 485.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.1698, allocations: 66 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1698, allocations: 0 / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002072/0.17, allocations: 105.5 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.17, allocations: 4 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.17, allocations: 4 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1701, allocations: 0 / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.765e-05/0.1702, allocations: 19.94 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1702, allocations: 0 / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.121e-05/0.1702, allocations: 7.922 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.1703, allocations: 8.031 kB / 485.4 MB, free: 15.49 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 (10): * Single equations (assignments): 10 * 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.0001069/0.1704, allocations: 121.8 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.1704, allocations: 11.91 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.316e-05/0.1705, allocations: 21.33 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1705, allocations: 0 / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.1705, allocations: 4 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.1705, allocations: 3.938 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005708/0.1711, allocations: 399.2 kB / 485.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.1711, allocations: 4 kB / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.681e-05/0.1712, allocations: 8 kB / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1712, allocations: 3.938 kB / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.1712, allocations: 0 / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1712, allocations: 4.359 kB / 486 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1712, allocations: 4 kB / 486 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.1715, allocations: 208.2 kB / 486.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.1716, allocations: 88.91 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.1716, allocations: 11.94 kB / 486.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.1717, allocations: 0 / 486.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.1717, allocations: 7.984 kB / 486.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.1718, allocations: 4 kB / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.1719, allocations: 152.7 kB / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1719, allocations: 0 / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1722, allocations: 28 kB / 486.4 MB, free: 14.32 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 (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.00167/0.1738, allocations: 1.089 MB / 487.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.1741, allocations: 63.91 kB / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1741, allocations: 0 / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.888e-05/0.1742, allocations: 35.92 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.1746, allocations: 34.92 kB / 487.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.1766, allocations: 1.667 MB / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.1769, allocations: 0.7002 MB / 490 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.386e-05/0.1769, allocations: 20.86 kB / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.177, allocations: 35.42 kB / 490.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.177, allocations: 0 / 490.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.1915, allocations: 3.277 MB / 493.4 MB, free: 7.531 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004655/0.192, allocations: 230.2 kB / 493.6 MB, free: 7.281 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.153, allocations: 0 / 493.6 MB, free: 7.281 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches