Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.001585/0.001585, allocations: 104.3 kB / 20.45 MB, free: 1.383 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.001993/0.001993, allocations: 209.1 kB / 23.74 MB, free: 4.543 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.489/1.489, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.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.2596/0.2596, allocations: 44.26 MB / 331.1 MB, free: 9.309 MB / 270.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") [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.002375/0.002375, allocations: 70.19 kB / 468.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1524, allocations: 61.04 MB / 0.5174 GB, free: 6.613 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003733/0.1562, allocations: 1.684 MB / 0.5191 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1576, allocations: 0.7767 MB / 0.5198 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.865e-05/0.1577, allocations: 7.938 kB / 0.5198 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.158, allocations: 31.83 kB / 0.5199 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.1583, allocations: 59.7 kB / 0.5199 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.1586, allocations: 99.69 kB / 0.52 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.1588, allocations: 87.77 kB / 0.5201 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1589, allocations: 12.2 kB / 0.5201 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.348e-05/0.159, allocations: 43.78 kB / 0.5202 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.7e-05/0.1591, allocations: 31.8 kB / 0.5202 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.1591, allocations: 4 kB / 0.5202 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1592, allocations: 47.92 kB / 0.5202 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.186e-05/0.1593, allocations: 19.91 kB / 0.5203 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.693e-05/0.1594, allocations: 23.86 kB / 0.5203 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.1596, allocations: 111.5 kB / 0.5204 GB, free: 3.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1596, allocations: 0 / 0.5204 GB, free: 3.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.1596, allocations: 0 / 0.5204 GB, free: 3.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1596, allocations: 4 kB / 0.5204 GB, free: 3.559 MB / 398.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.0006658/0.1603, allocations: 333.7 kB / 0.5207 GB, free: 3.203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.1603, allocations: 11.97 kB / 0.5207 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.1604, allocations: 8.891 kB / 0.5207 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.1607, allocations: 158.1 kB / 0.5209 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1608, allocations: 384 / 0.5209 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.1608, allocations: 8.125 kB / 0.5209 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.161, allocations: 61.66 kB / 0.5209 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.161, allocations: 3.953 kB / 0.521 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.161, allocations: 0 / 0.521 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.161, allocations: 0 / 0.521 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.982e-05/0.1611, allocations: 19.98 kB / 0.521 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.1616, allocations: 232.5 kB / 0.5212 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.1618, allocations: 50.67 kB / 0.5212 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.58e-05/0.1618, allocations: 24.84 kB / 0.5213 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.1618, allocations: 8 kB / 0.5213 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.162, allocations: 67.33 kB / 0.5213 GB, free: 2.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.162, allocations: 4 kB / 0.5213 GB, free: 2.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006213/0.1626, allocations: 165.5 kB / 0.5215 GB, free: 2.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.1627, allocations: 59.34 kB / 0.5216 GB, free: 2.234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.1629, allocations: 178.2 kB / 0.5217 GB, free: 2.051 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1629, allocations: 25.7 kB / 0.5218 GB, free: 2.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.681e-05/0.163, allocations: 104.1 kB / 0.5218 GB, free: 1.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.163, allocations: 19.86 kB / 0.5219 GB, free: 1.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.1631, allocations: 25.7 kB / 0.5219 GB, free: 1.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1632, allocations: 334.8 kB / 0.5222 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.067e-05/0.1633, allocations: 16 kB / 0.5222 GB, free: 1.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.418e-05/0.1634, allocations: 34.08 kB / 0.5223 GB, free: 1.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.1635, allocations: 69.62 kB / 0.5223 GB, free: 1.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1635, allocations: 0 / 0.5223 GB, free: 1.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002063/0.1637, allocations: 113.6 kB / 0.5224 GB, free: 1.281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1637, allocations: 4 kB / 0.5224 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1637, allocations: 0 / 0.5224 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.1638, allocations: 8.219 kB / 0.5224 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1639, allocations: 19.92 kB / 0.5225 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1639, allocations: 3.938 kB / 0.5225 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.678e-05/0.1639, allocations: 4 kB / 0.5225 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.1639, allocations: 0 / 0.5225 GB, free: 1.242 MB / 398.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.0001248/0.164, allocations: 129.8 kB / 0.5226 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.1641, allocations: 11.95 kB / 0.5226 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.1643, allocations: 122.2 kB / 0.5227 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.1643, allocations: 0 / 0.5227 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1643, allocations: 0 / 0.5227 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1644, allocations: 4 kB / 0.5227 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.1648, allocations: 346.9 kB / 0.5231 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1648, allocations: 0 / 0.5231 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.1649, allocations: 15.98 kB / 0.5231 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1649, allocations: 0 / 0.5231 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1649, allocations: 3.984 kB / 0.5231 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1649, allocations: 0 / 0.5231 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.1649, allocations: 11.88 kB / 0.5231 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.1652, allocations: 204.3 kB / 0.5233 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.718e-05/0.1652, allocations: 23.86 kB / 0.5233 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.1652, allocations: 7.938 kB / 0.5233 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.845e-05/0.1653, allocations: 0 / 0.5233 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.1653, allocations: 15.92 kB / 0.5233 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.1654, allocations: 4 kB / 0.5233 GB, free: 288 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.1655, allocations: 132.1 kB / 0.5235 GB, free: 156 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1655, allocations: 0 / 0.5235 GB, free: 156 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.1658, allocations: 27.98 kB / 0.5235 GB, free: 128 kB / 398.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.001928/0.1677, allocations: 488.8 kB / 0.524 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.1679, allocations: 63.91 kB / 0.524 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1679, allocations: 0 / 0.524 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.087e-05/0.168, allocations: 32.08 kB / 0.524 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.1683, allocations: 40.39 kB / 0.5241 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000542/0.1689, allocations: 248.8 kB / 0.5243 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.169, allocations: 85.31 kB / 0.5244 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.169, allocations: 19.44 kB / 0.5244 GB, free: 15.16 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.169, allocations: 0 / 0.5244 GB, free: 15.16 MB / 414.1 MB Notification: Performance of Templates: time 0.004394/0.1734, allocations: 1.913 MB / 0.5263 GB, free: 13.25 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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: 8.283416053280234]