Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.001437/0.001437, allocations: 79.58 kB / 20.52 MB, free: 1.281 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.001436/0.001436, allocations: 159.8 kB / 23.76 MB, free: 4.469 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.578/1.578, allocations: 158.6 MB / 185.5 MB, free: 6.219 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.2483/0.2483, allocations: 32.38 MB / 270.1 MB, free: 2.691 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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") [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.002326/0.002326, allocations: 75.89 kB / 407.8 MB, free: 5.461 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1504, allocations: 61.03 MB / 468.8 MB, free: 8.242 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003643/0.154, allocations: 1.692 MB / 470.5 MB, free: 6.539 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1556, allocations: 0.7687 MB / 471.3 MB, free: 5.762 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.555e-05/0.1557, allocations: 7.938 kB / 471.3 MB, free: 5.754 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.1561, allocations: 47.81 kB / 471.4 MB, free: 5.707 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.1563, allocations: 55.7 kB / 471.4 MB, free: 5.652 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.1566, allocations: 87.75 kB / 471.5 MB, free: 5.566 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.1568, allocations: 87.77 kB / 471.6 MB, free: 5.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1569, allocations: 8.219 kB / 471.6 MB, free: 5.473 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.824e-05/0.157, allocations: 39.8 kB / 471.6 MB, free: 5.434 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.988e-05/0.1571, allocations: 35.72 kB / 471.7 MB, free: 5.398 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1571, allocations: 8 kB / 471.7 MB, free: 5.391 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1572, allocations: 43.98 kB / 471.7 MB, free: 5.348 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.729e-05/0.1573, allocations: 31.84 kB / 471.8 MB, free: 5.316 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/0.1573, allocations: 23.86 kB / 471.8 MB, free: 5.293 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.1576, allocations: 107.5 kB / 471.9 MB, free: 5.188 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1576, allocations: 0 / 471.9 MB, free: 5.188 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.959e-06/0.1576, allocations: 4 kB / 471.9 MB, free: 5.184 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.1576, allocations: 3.984 kB / 471.9 MB, free: 5.18 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.0006607/0.1583, allocations: 341.5 kB / 472.2 MB, free: 4.816 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1583, allocations: 8.031 kB / 472.2 MB, free: 4.809 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.1583, allocations: 16.89 kB / 472.2 MB, free: 4.793 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.1586, allocations: 142.4 kB / 472.4 MB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.1586, allocations: 4.375 kB / 472.4 MB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.1587, allocations: 12.11 kB / 472.4 MB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.1588, allocations: 53.67 kB / 472.5 MB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1588, allocations: 0 / 472.5 MB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.1589, allocations: 4 kB / 472.5 MB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.1589, allocations: 0 / 472.5 MB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.027e-05/0.1589, allocations: 23.92 kB / 472.5 MB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.1593, allocations: 240.4 kB / 472.7 MB, free: 4.262 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.1595, allocations: 54.69 kB / 472.8 MB, free: 4.199 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.162e-05/0.1596, allocations: 20.84 kB / 472.8 MB, free: 4.176 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.1596, allocations: 0 / 472.8 MB, free: 4.176 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.1597, allocations: 71.33 kB / 472.9 MB, free: 4.094 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1597, allocations: 0 / 472.9 MB, free: 4.094 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005839/0.1603, allocations: 181.4 kB / 473 MB, free: 3.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1604, allocations: 51.41 kB / 473.1 MB, free: 3.848 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.1606, allocations: 190.3 kB / 473.3 MB, free: 3.652 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.1606, allocations: 33.7 kB / 473.3 MB, free: 3.613 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.1607, allocations: 96.14 kB / 473.4 MB, free: 3.516 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.1607, allocations: 27.78 kB / 473.4 MB, free: 3.488 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.1607, allocations: 21.72 kB / 473.4 MB, free: 3.461 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1609, allocations: 326.8 kB / 473.8 MB, free: 3.133 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-05/0.161, allocations: 23.98 kB / 473.8 MB, free: 3.109 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.835e-05/0.161, allocations: 33.7 kB / 473.8 MB, free: 3.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.1612, allocations: 73.69 kB / 473.9 MB, free: 2.992 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1612, allocations: 3.938 kB / 473.9 MB, free: 2.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001972/0.1614, allocations: 109.5 kB / 474 MB, free: 2.875 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1614, allocations: 4.188 kB / 474 MB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1614, allocations: 0 / 474 MB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1614, allocations: 7.938 kB / 474 MB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.414e-05/0.1615, allocations: 16 kB / 474 MB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1615, allocations: 0 / 474 MB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.1615, allocations: 7.984 kB / 474 MB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.1616, allocations: 384 / 474 MB, free: 2.84 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.0001175/0.1617, allocations: 129.8 kB / 474.2 MB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.1617, allocations: 19.92 kB / 474.2 MB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.162, allocations: 122.4 kB / 474.3 MB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.162, allocations: 4 kB / 474.3 MB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.162, allocations: 4 kB / 474.3 MB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.162, allocations: 0 / 474.3 MB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004639/0.1624, allocations: 342.9 kB / 474.7 MB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1624, allocations: 0 / 474.7 MB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.347e-05/0.1625, allocations: 15.92 kB / 474.7 MB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1625, allocations: 0 / 474.7 MB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1625, allocations: 4 kB / 474.7 MB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1625, allocations: 4.031 kB / 474.7 MB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1625, allocations: 3.938 kB / 474.7 MB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.1628, allocations: 216.2 kB / 474.9 MB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.1628, allocations: 11.94 kB / 474.9 MB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.1628, allocations: 0 / 474.9 MB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.75e-05/0.1629, allocations: 4 kB / 474.9 MB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.1629, allocations: 15.92 kB / 474.9 MB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.1629, allocations: 4 kB / 474.9 MB, free: 1.883 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.1631, allocations: 148 kB / 475.1 MB, free: 1.738 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1631, allocations: 0 / 475.1 MB, free: 1.738 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.1633, allocations: 27.94 kB / 475.1 MB, free: 1.711 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.001869/0.1652, allocations: 0.4909 MB / 475.6 MB, free: 1.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.1654, allocations: 63.91 kB / 475.6 MB, free: 1.168 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1654, allocations: 0 / 475.6 MB, free: 1.168 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.806e-05/0.1655, allocations: 35.92 kB / 475.7 MB, free: 1.133 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.1659, allocations: 19.98 kB / 475.7 MB, free: 1.113 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.1664, allocations: 231.1 kB / 475.9 MB, free: 0.8555 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.339e-05/0.1665, allocations: 92.3 kB / 476 MB, free: 0.7461 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.43e-05/0.1665, allocations: 16.61 kB / 476 MB, free: 0.7266 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.1666, allocations: 16.5 kB / 476.1 MB, free: 0.7109 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1666, allocations: 0 / 476.1 MB, free: 0.7109 MB / 446.1 MB Notification: Performance of Templates: time 0.2682/0.4347, allocations: 1.798 MB / 477.9 MB, free: 49.91 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.488857079995796]