Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.617/1.617, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2625/0.2625, allocations: 46.93 MB / 357.1 MB, free: 10.41 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 71.91 kB / 0.4915 GB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1483, allocations: 65.99 MB / 0.5559 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.004685/0.153, allocations: 1.737 MB / 0.5576 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.1553, allocations: 1.034 MB / 0.5586 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.1554, allocations: 4 kB / 0.5586 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000388/0.1558, allocations: 43.75 kB / 0.5587 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.1562, allocations: 99.55 kB / 0.5588 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.1565, allocations: 79.67 kB / 0.5589 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.1567, allocations: 103.6 kB / 0.559 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1569, allocations: 11.98 kB / 0.559 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.157, allocations: 47.78 kB / 0.559 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.1571, allocations: 27.86 kB / 0.559 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1571, allocations: 4 kB / 0.559 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.1572, allocations: 47.97 kB / 0.5591 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.7e-05/0.1573, allocations: 23.86 kB / 0.5591 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.349e-05/0.1573, allocations: 35.73 kB / 0.5591 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.1576, allocations: 127.4 kB / 0.5593 GB, free: 1.918 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1576, allocations: 0 / 0.5593 GB, free: 1.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1576, allocations: 0 / 0.5593 GB, free: 1.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1576, allocations: 0 / 0.5593 GB, free: 1.918 MB / 414.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.0006725/0.1583, allocations: 418.7 kB / 0.5597 GB, free: 1.461 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1583, allocations: 12.03 kB / 0.5597 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.1584, allocations: 8.891 kB / 0.5597 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.1587, allocations: 219.1 kB / 0.5599 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.1587, allocations: 4.375 kB / 0.5599 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.1587, allocations: 12.12 kB / 0.5599 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.1589, allocations: 53.67 kB / 0.56 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.1589, allocations: 0 / 0.56 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.159, allocations: 0 / 0.56 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.159, allocations: 3.984 kB / 0.56 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.827e-05/0.1591, allocations: 19.98 kB / 0.56 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.1595, allocations: 288.8 kB / 0.5603 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.1597, allocations: 62.61 kB / 0.5603 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.073e-05/0.1597, allocations: 24.78 kB / 0.5603 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.1598, allocations: 0 / 0.5603 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.1599, allocations: 71.39 kB / 0.5604 GB, free: 0.582 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1599, allocations: 0 / 0.5604 GB, free: 0.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005925/0.1605, allocations: 181.3 kB / 0.5606 GB, free: 408 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.1606, allocations: 51.41 kB / 0.5606 GB, free: 344 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.1608, allocations: 194.4 kB / 0.5608 GB, free: 140 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.1608, allocations: 25.7 kB / 0.5608 GB, free: 108 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.009e-05/0.1609, allocations: 104.1 kB / 0.5609 GB, free: 0 / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/0.1609, allocations: 23.98 kB / 0.561 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.161, allocations: 25.7 kB / 0.561 GB, free: 15.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1611, allocations: 334.6 kB / 0.5613 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.862e-05/0.1612, allocations: 16 kB / 0.5613 GB, free: 15.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.088e-05/0.1613, allocations: 37.64 kB / 0.5614 GB, free: 15.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.1614, allocations: 57.7 kB / 0.5614 GB, free: 15.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.1614, allocations: 4 kB / 0.5614 GB, free: 15.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002012/0.1616, allocations: 105.5 kB / 0.5615 GB, free: 15.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1616, allocations: 8.031 kB / 0.5615 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1616, allocations: 7.984 kB / 0.5615 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1616, allocations: 0 / 0.5615 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.135e-05/0.1617, allocations: 15.94 kB / 0.5616 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1617, allocations: 0 / 0.5616 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.1618, allocations: 7.938 kB / 0.5616 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1618, allocations: 4 kB / 0.5616 GB, free: 15.33 MB / 430.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.0001107/0.1619, allocations: 128 kB / 0.5617 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.1619, allocations: 7.953 kB / 0.5617 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.133e-05/0.162, allocations: 25.39 kB / 0.5617 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.162, allocations: 0 / 0.5617 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.162, allocations: 0 / 0.5617 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.162, allocations: 3.938 kB / 0.5617 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.1625, allocations: 391.3 kB / 0.5621 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1625, allocations: 0 / 0.5621 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.1625, allocations: 11.98 kB / 0.5621 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1625, allocations: 3.938 kB / 0.5621 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1625, allocations: 4 kB / 0.5621 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1625, allocations: 7.969 kB / 0.5621 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1625, allocations: 0 / 0.5621 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.1628, allocations: 204.3 kB / 0.5623 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.1629, allocations: 89.02 kB / 0.5624 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.1629, allocations: 8.297 kB / 0.5624 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.163, allocations: 8 kB / 0.5624 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.163, allocations: 8 kB / 0.5624 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.163, allocations: 11.98 kB / 0.5624 GB, free: 14.33 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.1632, allocations: 144.2 kB / 0.5626 GB, free: 14.19 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1632, allocations: 0 / 0.5626 GB, free: 14.19 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.1634, allocations: 27.92 kB / 0.5626 GB, free: 14.16 MB / 430.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.001763/0.1652, allocations: 462.8 kB / 0.563 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.1654, allocations: 59.91 kB / 0.5631 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1654, allocations: 3.938 kB / 0.5631 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.022e-05/0.1655, allocations: 23.94 kB / 0.5631 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.1659, allocations: 31.91 kB / 0.5632 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000565/0.1665, allocations: 238.7 kB / 0.5634 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.1669, allocations: 0.708 MB / 0.5641 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.219e-05/0.167, allocations: 17.17 kB / 0.5641 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.167, allocations: 19.42 kB / 0.5641 GB, free: 12.74 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.167, allocations: 4 kB / 0.5641 GB, free: 12.73 MB / 430.1 MB Notification: Performance of Templates: time 0.005397/0.1724, allocations: 1.746 MB / 0.5658 GB, free: 11 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.453453563153744]