Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.000862/0.000862, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003968/0.003968, allocations: 160.7 kB / 24.7 MB, free: 8.898 MB / 18.57 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 0.878/0.878, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2372/0.2372, allocations: 34.26 MB / 295.7 MB, free: 0.6953 MB / 266.7 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 443.5 MB, free: 1.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.744e-05, allocations: 2.281 kB / 443.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.1572/0.1572, allocations: 1.712 MB / 445.2 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008989/0.1581, allocations: 0.9709 MB / 446.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.18e-05/0.1581, allocations: 0 / 446.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.1584, allocations: 44.03 kB / 446.3 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.1586, allocations: 99.25 kB / 446.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.1587, allocations: 75.73 kB / 446.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.1589, allocations: 111.9 kB / 446.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.838e-05/0.159, allocations: 5.188 kB / 446.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.695e-05/0.159, allocations: 56.7 kB / 446.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.1591, allocations: 33.44 kB / 446.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.1591, allocations: 2.531 kB / 446.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.554e-05/0.1592, allocations: 48.05 kB / 446.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.1592, allocations: 21.5 kB / 446.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.1592, allocations: 24.31 kB / 446.7 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.1594, allocations: 110.2 kB / 446.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1594, allocations: 3.938 kB / 446.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1594, allocations: 0.5312 kB / 446.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1594, allocations: 0.7188 kB / 446.8 MB, free: 43.04 MB / 410.7 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.0003656/0.1598, allocations: 351.3 kB / 447.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1598, allocations: 8.844 kB / 447.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.1598, allocations: 14.81 kB / 447.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.16, allocations: 150.7 kB / 447.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.16, allocations: 6.516 kB / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.1601, allocations: 0.9375 kB / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.1602, allocations: 55.27 kB / 447.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1602, allocations: 7.25 kB / 447.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1602, allocations: 0 / 447.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1602, allocations: 5.797 kB / 447.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.656e-05/0.1602, allocations: 26.62 kB / 447.4 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002205/0.1604, allocations: 228.2 kB / 447.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.1605, allocations: 56.31 kB / 447.7 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.966e-05/0.1606, allocations: 24.83 kB / 447.7 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.1606, allocations: 2.406 kB / 447.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/0.1607, allocations: 68.2 kB / 447.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1607, allocations: 0 / 447.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003618/0.1611, allocations: 183.5 kB / 448 MB, free: 42.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.1611, allocations: 54.83 kB / 448.1 MB, free: 42.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.87e-05/0.1612, allocations: 205.4 kB / 448.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.1612, allocations: 28.64 kB / 448.3 MB, free: 41.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.726e-05/0.1612, allocations: 105.2 kB / 448.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.1612, allocations: 22.7 kB / 448.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.1612, allocations: 23.42 kB / 448.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.529e-05/0.1613, allocations: 323.7 kB / 448.7 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.152e-05/0.1613, allocations: 22.81 kB / 448.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.5e-05/0.1613, allocations: 42.34 kB / 448.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.119e-05/0.1614, allocations: 67.77 kB / 448.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1614, allocations: 0 / 448.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.904e-05/0.1615, allocations: 101.5 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.1615, allocations: 3.969 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1615, allocations: 3.031 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1615, allocations: 0 / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.073e-05/0.1616, allocations: 25.59 kB / 449 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.1616, allocations: 3.562 kB / 449 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/0.1616, allocations: 2.812 kB / 449 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1616, allocations: 6.266 kB / 449 MB, free: 41.28 MB / 410.7 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 4.963e-05/0.1617, allocations: 128.2 kB / 449.1 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.1617, allocations: 9.391 kB / 449.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.1618, allocations: 123.6 kB / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1618, allocations: 4.594 kB / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1618, allocations: 2.875 kB / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1618, allocations: 32 / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.1621, allocations: 360.1 kB / 449.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1621, allocations: 0 / 449.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.1621, allocations: 14.02 kB / 449.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1621, allocations: 0 / 449.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1621, allocations: 2.625 kB / 449.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1621, allocations: 0 / 449.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1621, allocations: 3.938 kB / 449.7 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.1622, allocations: 217.7 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.1622, allocations: 15 kB / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.1622, allocations: 6.812 kB / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.778e-05/0.1623, allocations: 5.781 kB / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.1623, allocations: 9.703 kB / 449.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1623, allocations: 2.75 kB / 449.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.923e-05/0.1624, allocations: 156.7 kB / 450.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1624, allocations: 384 / 450.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001666/0.1625, allocations: 27.62 kB / 450.1 MB, free: 40.5 MB / 410.7 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.0007002/0.1632, allocations: 0.4903 MB / 450.6 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.1633, allocations: 63.2 kB / 450.6 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1633, allocations: 2.781 kB / 450.6 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.755e-05/0.1634, allocations: 28.52 kB / 450.7 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.1636, allocations: 30 kB / 450.7 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.1639, allocations: 262.2 kB / 451 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.485e-05/0.164, allocations: 93.7 kB / 451 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.164, allocations: 14.19 kB / 451.1 MB, free: 40.02 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.164, allocations: 0 / 451.1 MB, free: 40.02 MB / 410.7 MB Notification: Performance of Templates: time 0.002222/0.1662, allocations: 2.002 MB / 453.1 MB, free: 39.8 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.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: 4.635095353238285]