Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 175.8 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.4 MB / 222.7 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4625/0.4625, allocations: 43.58 MB / 314.6 MB, free: 8.754 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000561/0.000561, allocations: 22.97 kB / 384 MB, free: 8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1681, allocations: 58.88 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002492/0.1706, allocations: 1.461 MB / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1721, allocations: 0.8163 MB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.264e-05/0.1722, allocations: 3.938 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005329/0.1728, allocations: 295.4 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.1731, allocations: 183.6 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.1735, allocations: 127.8 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.1738, allocations: 207.2 kB / 445.9 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.7e-05/0.1739, allocations: 21.52 kB / 445.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.174, allocations: 111.6 kB / 446 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.1743, allocations: 155.6 kB / 446.2 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.1743, allocations: 0 / 446.2 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1744, allocations: 43.98 kB / 446.2 MB, free: 9.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.1746, allocations: 131.6 kB / 446.4 MB, free: 9.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.094e-05/0.1747, allocations: 77.45 kB / 446.4 MB, free: 9.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.175, allocations: 263.8 kB / 446.7 MB, free: 9.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.175, allocations: 0 / 446.7 MB, free: 9.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.175, allocations: 4 kB / 446.7 MB, free: 9.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.175, allocations: 0 / 446.7 MB, free: 9.117 MB / 382.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.0009235/0.1759, allocations: 0.6686 MB / 447.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.176, allocations: 16.02 kB / 447.4 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.314e-05/0.1761, allocations: 43.44 kB / 447.4 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/0.1766, allocations: 419.2 kB / 447.8 MB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.1767, allocations: 4 kB / 447.8 MB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.1767, allocations: 8 kB / 447.9 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.1769, allocations: 87.3 kB / 447.9 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1769, allocations: 0 / 447.9 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.177, allocations: 3.938 kB / 447.9 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.177, allocations: 3.953 kB / 447.9 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.99e-05/0.1771, allocations: 27.97 kB / 448 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.1775, allocations: 382.2 kB / 448.3 MB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.1778, allocations: 105.2 kB / 448.4 MB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.053e-05/0.1779, allocations: 45.69 kB / 448.5 MB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1779, allocations: 0 / 448.5 MB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/0.1782, allocations: 105 kB / 448.6 MB, free: 7.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.1782, allocations: 0 / 448.6 MB, free: 7.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000473/0.1787, allocations: 197 kB / 448.8 MB, free: 6.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/0.1788, allocations: 85.05 kB / 448.9 MB, free: 6.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.1799, allocations: 1.01 MB / 449.9 MB, free: 5.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.1799, allocations: 25.7 kB / 449.9 MB, free: 5.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.1801, allocations: 228.1 kB / 450.1 MB, free: 5.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.1801, allocations: 27.66 kB / 450.2 MB, free: 5.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-06/0.1802, allocations: 4 kB / 450.2 MB, free: 5.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.1804, allocations: 362.8 kB / 450.5 MB, free: 5.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.033e-05/0.1805, allocations: 35.92 kB / 450.5 MB, free: 5.016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.163e-05/0.1806, allocations: 59.41 kB / 450.6 MB, free: 4.945 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.191e-05/0.1806, allocations: 28 kB / 450.6 MB, free: 4.918 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1807, allocations: 3.984 kB / 450.6 MB, free: 4.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000282/0.1809, allocations: 165 kB / 450.8 MB, free: 4.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.181, allocations: 4 kB / 450.8 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.181, allocations: 4 kB / 450.8 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.181, allocations: 0 / 450.8 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.1811, allocations: 27.98 kB / 450.8 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1811, allocations: 4.578 kB / 450.8 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.64e-05/0.1812, allocations: 7.906 kB / 450.8 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.1813, allocations: 7.984 kB / 450.9 MB, free: 4.691 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002403/0.1815, allocations: 229.6 kB / 451.1 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.719e-05/0.1816, allocations: 51.34 kB / 451.1 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.637e-05/0.1817, allocations: 59.84 kB / 451.2 MB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1817, allocations: 4 kB / 451.2 MB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.1817, allocations: 0 / 451.2 MB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1817, allocations: 11.88 kB / 451.2 MB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003688/0.1821, allocations: 341.4 kB / 451.5 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1821, allocations: 0 / 451.5 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.1821, allocations: 4 kB / 451.5 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1822, allocations: 4 kB / 451.5 MB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.1822, allocations: 3.984 kB / 451.5 MB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1822, allocations: 4 kB / 451.6 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1822, allocations: 7.938 kB / 451.6 MB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.1825, allocations: 189.3 kB / 451.7 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.1827, allocations: 148.4 kB / 451.9 MB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.1827, allocations: 0 / 451.9 MB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.1828, allocations: 11.94 kB / 451.9 MB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.1828, allocations: 11.98 kB / 451.9 MB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.1829, allocations: 4 kB / 451.9 MB, free: 3.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007801/0.1836, allocations: 0.7565 MB / 452.7 MB, free: 2.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1836, allocations: 0 / 452.7 MB, free: 2.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1839, allocations: 47.95 kB / 452.7 MB, free: 2.727 MB / 382.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001011/0.1849, allocations: 409.5 kB / 453.1 MB, free: 2.359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.1852, allocations: 79.91 kB / 453.2 MB, free: 2.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1852, allocations: 4 kB / 453.2 MB, free: 2.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.1853, allocations: 43.91 kB / 453.2 MB, free: 2.234 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.1857, allocations: 62.27 kB / 453.3 MB, free: 2.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.187, allocations: 0.8816 MB / 454.2 MB, free: 1.266 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.1875, allocations: 0.8351 MB / 455 MB, free: 416 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.1876, allocations: 66.92 kB / 455.1 MB, free: 348 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.1877, allocations: 23.44 kB / 455.1 MB, free: 324 kB / 382.1 MB Notification: Performance of SimCode: time 2.515e-06/0.1877, allocations: 0 / 455.1 MB, free: 324 kB / 382.1 MB Notification: Performance of Templates: time 0.2518/0.4394, allocations: 3.343 MB / 458.5 MB, free: 45.71 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches