Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.001665/0.001665, allocations: 77.7 kB / 20.51 MB, free: 1.277 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.001736/0.001736, allocations: 164.7 kB / 23.76 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 158.6 MB / 185.5 MB, free: 6.512 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2138/0.2138, allocations: 32.38 MB / 270.1 MB, free: 2.727 MB / 254.1 MB " [Timeout remaining time 179] 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.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 67.89 kB / 407.8 MB, free: 5.488 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1523, allocations: 61.05 MB / 468.9 MB, free: 8.254 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.004427/0.1567, allocations: 1.684 MB / 470.5 MB, free: 6.555 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.1584, allocations: 0.7765 MB / 471.3 MB, free: 5.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.1585, allocations: 0 / 471.3 MB, free: 5.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.1589, allocations: 47.77 kB / 471.4 MB, free: 5.723 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.1592, allocations: 55.75 kB / 471.4 MB, free: 5.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.1595, allocations: 79.78 kB / 471.5 MB, free: 5.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.1598, allocations: 107.6 kB / 471.6 MB, free: 5.484 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1599, allocations: 8.234 kB / 471.6 MB, free: 5.477 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.16, allocations: 39.8 kB / 471.6 MB, free: 5.438 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1601, allocations: 31.83 kB / 471.7 MB, free: 5.406 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.1601, allocations: 4 kB / 471.7 MB, free: 5.402 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.1603, allocations: 40 kB / 471.7 MB, free: 5.363 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.156e-05/0.1603, allocations: 23.86 kB / 471.7 MB, free: 5.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.512e-05/0.1604, allocations: 31.78 kB / 471.8 MB, free: 5.309 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.1607, allocations: 111.5 kB / 471.9 MB, free: 5.199 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1607, allocations: 0 / 471.9 MB, free: 5.199 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1607, allocations: 4 kB / 471.9 MB, free: 5.195 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.1607, allocations: 0 / 471.9 MB, free: 5.195 MB / 446.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.0006769/0.1614, allocations: 345.6 kB / 472.2 MB, free: 4.828 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.1614, allocations: 8.031 kB / 472.2 MB, free: 4.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.1615, allocations: 8.891 kB / 472.2 MB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.1618, allocations: 146.4 kB / 472.4 MB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.1619, allocations: 8.359 kB / 472.4 MB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.1619, allocations: 8.125 kB / 472.4 MB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.1621, allocations: 53.67 kB / 472.4 MB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1621, allocations: 3.938 kB / 472.5 MB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1621, allocations: 4 kB / 472.5 MB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1621, allocations: 0 / 472.5 MB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.002e-05/0.1622, allocations: 19.98 kB / 472.5 MB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.1626, allocations: 240.4 kB / 472.7 MB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.1628, allocations: 58.67 kB / 472.8 MB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.168e-05/0.1629, allocations: 24.78 kB / 472.8 MB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1629, allocations: 0 / 472.8 MB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.1631, allocations: 67.39 kB / 472.9 MB, free: 4.105 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1631, allocations: 4 kB / 472.9 MB, free: 4.102 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006434/0.1637, allocations: 177.4 kB / 473 MB, free: 3.922 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.1638, allocations: 59.34 kB / 473.1 MB, free: 3.852 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.164, allocations: 186.3 kB / 473.3 MB, free: 3.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.164, allocations: 25.7 kB / 473.3 MB, free: 3.629 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.464e-05/0.1641, allocations: 104.1 kB / 473.4 MB, free: 3.523 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.1641, allocations: 23.8 kB / 473.4 MB, free: 3.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.486e-05/0.1642, allocations: 21.7 kB / 473.4 MB, free: 3.473 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.1644, allocations: 330.8 kB / 473.8 MB, free: 3.141 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.1644, allocations: 16 kB / 473.8 MB, free: 3.125 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.609e-05/0.1645, allocations: 41.7 kB / 473.8 MB, free: 3.078 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.1646, allocations: 69.7 kB / 473.9 MB, free: 3.004 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1646, allocations: 0 / 473.9 MB, free: 3.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00023/0.1649, allocations: 109.5 kB / 474 MB, free: 2.891 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1649, allocations: 8.188 kB / 474 MB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1649, allocations: 0 / 474 MB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1649, allocations: 3.938 kB / 474 MB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.165, allocations: 19.98 kB / 474 MB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.165, allocations: 4.031 kB / 474 MB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.006e-05/0.1651, allocations: 0 / 474 MB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1651, allocations: 4 kB / 474 MB, free: 2.852 MB / 446.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.0001293/0.1652, allocations: 129.8 kB / 474.2 MB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.1653, allocations: 16.28 kB / 474.2 MB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.1655, allocations: 118.4 kB / 474.3 MB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.1655, allocations: 0 / 474.3 MB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1655, allocations: 0 / 474.3 MB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1656, allocations: 4 kB / 474.3 MB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.1661, allocations: 350.9 kB / 474.6 MB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1661, allocations: 4 kB / 474.6 MB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-05/0.1661, allocations: 11.94 kB / 474.7 MB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1661, allocations: 0 / 474.7 MB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.1661, allocations: 4 kB / 474.7 MB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1661, allocations: 0 / 474.7 MB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1661, allocations: 3.938 kB / 474.7 MB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.1664, allocations: 220.2 kB / 474.9 MB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.1664, allocations: 7.953 kB / 474.9 MB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1665, allocations: 0 / 474.9 MB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.566e-05/0.1665, allocations: 12.03 kB / 474.9 MB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.1666, allocations: 11.86 kB / 474.9 MB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.1666, allocations: 4 kB / 474.9 MB, free: 1.898 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.1668, allocations: 152 kB / 475.1 MB, free: 1.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1668, allocations: 0 / 475.1 MB, free: 1.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.1671, allocations: 27.94 kB / 475.1 MB, free: 1.723 MB / 446.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 (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.001917/0.169, allocations: 0.4887 MB / 475.6 MB, free: 1.246 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.1692, allocations: 63.91 kB / 475.6 MB, free: 1.184 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/0.1692, allocations: 4 kB / 475.6 MB, free: 1.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.264e-05/0.1693, allocations: 27.92 kB / 475.7 MB, free: 1.152 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.1697, allocations: 31.97 kB / 475.7 MB, free: 1.121 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.1703, allocations: 223.2 kB / 475.9 MB, free: 0.8711 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.1704, allocations: 100.3 kB / 476 MB, free: 0.7539 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.642e-05/0.1704, allocations: 8.5 kB / 476 MB, free: 0.7422 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.1705, allocations: 24.48 kB / 476.1 MB, free: 0.7188 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1705, allocations: 0 / 476.1 MB, free: 0.7188 MB / 446.1 MB Notification: Performance of Templates: time 0.2639/0.4344, allocations: 1.795 MB / 477.8 MB, free: 50.2 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.365187849965878]