Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.0007993/0.0007993, 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.003344/0.003344, allocations: 160.5 kB / 24.7 MB, free: 9.426 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.8257/0.8257, allocations: 177.1 MB / 205 MB, free: 5.742 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.2241/0.2241, allocations: 34.25 MB / 295.7 MB, free: 0.707 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 443.5 MB, free: 1.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.152e-05, allocations: 2.281 kB / 443.5 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.1647/0.1647, allocations: 1.737 MB / 445.3 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009502/0.1657, allocations: 0.9747 MB / 446.2 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.897e-05/0.1657, allocations: 6.938 kB / 446.3 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.166, allocations: 106.5 kB / 446.4 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.1662, allocations: 133 kB / 446.5 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001195/0.1663, allocations: 84.47 kB / 446.6 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.1665, allocations: 138.1 kB / 446.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.581e-05/0.1666, allocations: 9.406 kB / 446.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.079e-05/0.1666, allocations: 76.38 kB / 446.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.79e-05/0.1667, allocations: 73.61 kB / 446.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.1667, allocations: 3.188 kB / 446.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.749e-05/0.1668, allocations: 60.33 kB / 446.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.247e-05/0.1668, allocations: 34.62 kB / 447 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.1669, allocations: 22.98 kB / 447 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.167, allocations: 156.1 kB / 447.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.167, allocations: 2.906 kB / 447.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.167, allocations: 0 / 447.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.167, allocations: 0 / 447.1 MB, free: 43.05 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003628/0.1674, allocations: 386.4 kB / 447.5 MB, free: 42.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1674, allocations: 11.41 kB / 447.5 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.1675, allocations: 14.78 kB / 447.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.1677, allocations: 168.6 kB / 447.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1677, allocations: 3.469 kB / 447.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.1677, allocations: 3.188 kB / 447.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.1678, allocations: 65.66 kB / 447.8 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1678, allocations: 7.172 kB / 447.8 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1678, allocations: 3.031 kB / 447.8 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1678, allocations: 0.5 kB / 447.8 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.299e-05/0.1679, allocations: 40.33 kB / 447.8 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002408/0.1681, allocations: 264.5 kB / 448.1 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1683, allocations: 78.86 kB / 448.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.1683, allocations: 27.52 kB / 448.2 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.1683, allocations: 10.73 kB / 448.2 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.033e-05/0.1684, allocations: 76.56 kB / 448.3 MB, free: 42.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.001e-06/0.1684, allocations: 0 / 448.3 MB, free: 42.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.000481/0.1689, allocations: 279.4 kB / 448.5 MB, free: 42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.1689, allocations: 51.41 kB / 448.6 MB, free: 41.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.1691, allocations: 272.2 kB / 448.9 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.1691, allocations: 28.39 kB / 448.9 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.1691, allocations: 117 kB / 449 MB, free: 41.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.1691, allocations: 42.89 kB / 449 MB, free: 41.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.1692, allocations: 32.98 kB / 449.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.057e-05/0.1692, allocations: 335 kB / 449.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.239e-05/0.1692, allocations: 32.66 kB / 449.4 MB, free: 41.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.39e-05/0.1693, allocations: 54.67 kB / 449.5 MB, free: 41.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.466e-05/0.1694, allocations: 96.02 kB / 449.6 MB, free: 41.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1694, allocations: 0 / 449.6 MB, free: 41.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001246/0.1695, allocations: 145.2 kB / 449.7 MB, free: 41.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.1695, allocations: 5.844 kB / 449.7 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1695, allocations: 4.594 kB / 449.7 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1695, allocations: 4 kB / 449.7 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.938e-05/0.1696, allocations: 24.97 kB / 449.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1696, allocations: 2.75 kB / 449.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.661e-05/0.1696, allocations: 6.25 kB / 449.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1696, allocations: 2.938 kB / 449.8 MB, free: 41.09 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 (14): * Single equations (assignments): 14 * 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 5.565e-05/0.1697, allocations: 148.5 kB / 449.9 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.1697, allocations: 20.2 kB / 449.9 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.1698, allocations: 175.4 kB / 450.1 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1698, allocations: 3 kB / 450.1 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1698, allocations: 4 kB / 450.1 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1698, allocations: 0 / 450.1 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.1701, allocations: 441 kB / 450.5 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1701, allocations: 0 / 450.5 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.1702, allocations: 17.28 kB / 450.6 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1702, allocations: 0 / 450.6 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1702, allocations: 9.562 kB / 450.6 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1702, allocations: 2.562 kB / 450.6 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1702, allocations: 3.938 kB / 450.6 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.1703, allocations: 270.2 kB / 450.8 MB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.1703, allocations: 13.53 kB / 450.9 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.1703, allocations: 6.75 kB / 450.9 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.101e-05/0.1704, allocations: 6.172 kB / 450.9 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.1704, allocations: 16.7 kB / 450.9 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.1704, allocations: 5.344 kB / 450.9 MB, free: 40.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.961e-05/0.1705, allocations: 199.1 kB / 451.1 MB, free: 40.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1705, allocations: 0 / 451.1 MB, free: 40.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000167/0.1707, allocations: 34.44 kB / 451.1 MB, free: 40.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.0007178/0.1714, allocations: 0.55 MB / 451.7 MB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.1715, allocations: 91.36 kB / 451.8 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.1715, allocations: 0 / 451.8 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-05/0.1716, allocations: 47.06 kB / 451.8 MB, free: 39.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.1718, allocations: 40.72 kB / 451.8 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.1721, allocations: 356.4 kB / 452.2 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.774e-05/0.1722, allocations: 120.4 kB / 452.3 MB, free: 39.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.1722, allocations: 23.06 kB / 452.3 MB, free: 39.64 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1722, allocations: 0 / 452.3 MB, free: 39.64 MB / 410.7 MB Notification: Performance of Templates: time 0.002384/0.1746, allocations: 2.517 MB / 454.8 MB, free: 39.35 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.9348430298268795]