Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001851/0.001851, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002377/0.002377, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2401/0.2401, allocations: 46.89 MB / 358.1 MB, free: 10.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002971/0.002971, allocations: 83.88 kB / 0.4924 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1303, allocations: 65.99 MB / 0.5569 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003241/0.1335, allocations: 1.737 MB / 0.5586 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002592/0.1361, allocations: 1.644 MB / 0.5602 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.843e-05/0.1362, allocations: 4 kB / 0.5602 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.1365, allocations: 35.77 kB / 0.5602 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.1368, allocations: 103.5 kB / 0.5603 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.137, allocations: 79.67 kB / 0.5604 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.1372, allocations: 107.7 kB / 0.5605 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.728e-05/0.1373, allocations: 12 kB / 0.5605 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1374, allocations: 51.77 kB / 0.5606 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.1376, allocations: 39.84 kB / 0.5606 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.1376, allocations: 4 kB / 0.5606 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.1378, allocations: 111.9 kB / 0.5607 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.1379, allocations: 23.91 kB / 0.5607 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.623e-05/0.138, allocations: 31.75 kB / 0.5608 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.1383, allocations: 171.4 kB / 0.5609 GB, free: 1.695 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1383, allocations: 0 / 0.5609 GB, free: 1.695 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1383, allocations: 0 / 0.5609 GB, free: 1.695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.1383, allocations: 0 / 0.5609 GB, free: 1.695 MB / 414.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.0006438/0.1389, allocations: 434.6 kB / 0.5613 GB, free: 1.223 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.139, allocations: 8.031 kB / 0.5613 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.139, allocations: 16.84 kB / 0.5614 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.1394, allocations: 211.5 kB / 0.5616 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1394, allocations: 8.312 kB / 0.5616 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.1394, allocations: 8.125 kB / 0.5616 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.1396, allocations: 75.31 kB / 0.5617 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1396, allocations: 4 kB / 0.5617 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1396, allocations: 0 / 0.5617 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1396, allocations: 4 kB / 0.5617 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.616e-05/0.1397, allocations: 15.98 kB / 0.5617 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.1401, allocations: 284.9 kB / 0.5619 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.1403, allocations: 58.62 kB / 0.562 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.068e-05/0.1404, allocations: 24.84 kB / 0.562 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.1404, allocations: 0 / 0.562 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.1406, allocations: 63.39 kB / 0.5621 GB, free: 344 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1406, allocations: 0 / 0.5621 GB, free: 344 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005726/0.1411, allocations: 173.3 kB / 0.5623 GB, free: 164 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.1412, allocations: 81.11 kB / 0.5623 GB, free: 64 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.1414, allocations: 170.4 kB / 0.5625 GB, free: 15.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.1414, allocations: 25.7 kB / 0.5625 GB, free: 15.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/0.1415, allocations: 100.1 kB / 0.5626 GB, free: 15.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.1415, allocations: 23.81 kB / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.1416, allocations: 25.7 kB / 0.5627 GB, free: 15.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1417, allocations: 330.8 kB / 0.563 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.277e-05/0.1418, allocations: 23.94 kB / 0.563 GB, free: 15.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.785e-05/0.1419, allocations: 46.92 kB / 0.563 GB, free: 15.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.142, allocations: 61.7 kB / 0.5631 GB, free: 15.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.142, allocations: 0 / 0.5631 GB, free: 15.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002059/0.1422, allocations: 101.6 kB / 0.5632 GB, free: 15.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1422, allocations: 4 kB / 0.5632 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1422, allocations: 4 kB / 0.5632 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1422, allocations: 0 / 0.5632 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.893e-05/0.1423, allocations: 16.06 kB / 0.5632 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1423, allocations: 0 / 0.5632 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.008e-05/0.1424, allocations: 15.92 kB / 0.5632 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1424, allocations: 7.938 kB / 0.5632 GB, free: 15.07 MB / 430.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.0001094/0.1425, allocations: 117.8 kB / 0.5634 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.1425, allocations: 11.95 kB / 0.5634 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.1426, allocations: 16.7 kB / 0.5634 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1426, allocations: 3.938 kB / 0.5634 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.1426, allocations: 0 / 0.5634 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1426, allocations: 7.938 kB / 0.5634 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004931/0.1431, allocations: 395.3 kB / 0.5638 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1431, allocations: 0 / 0.5638 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.1431, allocations: 12 kB / 0.5638 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1431, allocations: 4 kB / 0.5638 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1431, allocations: 7.922 kB / 0.5638 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1431, allocations: 0 / 0.5638 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1431, allocations: 0 / 0.5638 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.1434, allocations: 200.5 kB / 0.564 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.1435, allocations: 89.06 kB / 0.5641 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.1435, allocations: 7.938 kB / 0.5641 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.1436, allocations: 3.984 kB / 0.5641 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.1436, allocations: 8 kB / 0.5641 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.1436, allocations: 4.188 kB / 0.5641 GB, free: 14.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.1438, allocations: 131.9 kB / 0.5642 GB, free: 13.96 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1438, allocations: 3.938 kB / 0.5642 GB, free: 13.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003039/0.1441, allocations: 47.86 kB / 0.5643 GB, free: 13.91 MB / 430.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 (8): * Single equations (assignments): 6 * 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.00197/0.146, allocations: 0.5495 MB / 0.5648 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.1462, allocations: 59.91 kB / 0.5649 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1462, allocations: 0 / 0.5649 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.85e-05/0.1463, allocations: 28.08 kB / 0.5649 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.1467, allocations: 28.12 kB / 0.5649 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.1472, allocations: 228.5 kB / 0.5651 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.1476, allocations: 0.7003 MB / 0.5658 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.1476, allocations: 19.44 kB / 0.5658 GB, free: 12.44 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1476, allocations: 0 / 0.5658 GB, free: 12.44 MB / 430.1 MB Notification: Performance of Templates: time 0.00482/0.1524, allocations: 2.412 MB / 0.5682 GB, free: 10.03 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.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: 7.971346711041406]