Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.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.001568/0.001568, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.00167/0.00167, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.512/1.512, allocations: 230.2 MB / 255.1 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.2349/0.2349, allocations: 46.9 MB / 358.1 MB, free: 10.61 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72") [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.002179/0.002179, allocations: 83.86 kB / 0.4924 GB, free: 8.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1241, allocations: 65.98 MB / 0.5569 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003336/0.1274, allocations: 1.837 MB / 0.5587 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.1294, allocations: 1.112 MB / 0.5597 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.512e-05/0.1295, allocations: 4 kB / 0.5597 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005522/0.1301, allocations: 315.2 kB / 0.56 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004889/0.1306, allocations: 247.2 kB / 0.5603 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.1308, allocations: 107.6 kB / 0.5604 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003591/0.1312, allocations: 267.2 kB / 0.5606 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.489e-05/0.1312, allocations: 5.688 kB / 0.5606 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.1314, allocations: 127.6 kB / 0.5608 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.1317, allocations: 231.4 kB / 0.561 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.1318, allocations: 12 kB / 0.561 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1319, allocations: 39.98 kB / 0.561 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.1321, allocations: 139.6 kB / 0.5612 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.1322, allocations: 154.7 kB / 0.5613 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000462/0.1327, allocations: 382.2 kB / 0.5617 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1327, allocations: 0 / 0.5617 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1327, allocations: 0 / 0.5617 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.1327, allocations: 0 / 0.5617 GB, free: 0.9609 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001065/0.1338, allocations: 0.7539 MB / 0.5624 GB, free: 160 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1338, allocations: 16.03 kB / 0.5624 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.866e-05/0.1339, allocations: 48.61 kB / 0.5625 GB, free: 96 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007248/0.1346, allocations: 464.3 kB / 0.5629 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.69e-05/0.1347, allocations: 8.359 kB / 0.5629 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.1347, allocations: 8.375 kB / 0.5629 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.1349, allocations: 79.69 kB / 0.563 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1349, allocations: 0 / 0.563 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.135, allocations: 4 kB / 0.563 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.135, allocations: 7.984 kB / 0.563 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.1351, allocations: 27.92 kB / 0.563 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.1355, allocations: 390.2 kB / 0.5634 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.1358, allocations: 105.2 kB / 0.5635 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.642e-05/0.1359, allocations: 33.7 kB / 0.5636 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.1359, allocations: 0 / 0.5636 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.1362, allocations: 109 kB / 0.5637 GB, free: 14.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.1362, allocations: 4 kB / 0.5637 GB, free: 14.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005121/0.1367, allocations: 205.2 kB / 0.5639 GB, free: 14.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.1368, allocations: 81.11 kB / 0.5639 GB, free: 14.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.1382, allocations: 1.054 MB / 0.565 GB, free: 13.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.1382, allocations: 29.7 kB / 0.565 GB, free: 13.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.1384, allocations: 236.1 kB / 0.5652 GB, free: 13.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.1386, allocations: 35.73 kB / 0.5653 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.1386, allocations: 29.72 kB / 0.5653 GB, free: 13.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.1388, allocations: 370.8 kB / 0.5656 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.192e-05/0.1389, allocations: 23.98 kB / 0.5657 GB, free: 12.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.139, allocations: 55.42 kB / 0.5657 GB, free: 12.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.1392, allocations: 95.34 kB / 0.5658 GB, free: 12.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1392, allocations: 0 / 0.5658 GB, free: 12.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003351/0.1396, allocations: 173.2 kB / 0.566 GB, free: 12.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1396, allocations: 4 kB / 0.566 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1396, allocations: 0 / 0.566 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.1396, allocations: 7.984 kB / 0.566 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.1397, allocations: 23.92 kB / 0.566 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1397, allocations: 4 kB / 0.566 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.1398, allocations: 16.67 kB / 0.566 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.1399, allocations: 4 kB / 0.566 GB, free: 12.22 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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 0.0002446/0.1401, allocations: 225.7 kB / 0.5662 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.049e-05/0.1402, allocations: 59.5 kB / 0.5663 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.615e-05/0.1403, allocations: 60.14 kB / 0.5664 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1403, allocations: 4 kB / 0.5664 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.1403, allocations: 4 kB / 0.5664 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1403, allocations: 0 / 0.5664 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.1406, allocations: 345.4 kB / 0.5667 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1406, allocations: 0 / 0.5667 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-05/0.1407, allocations: 23.86 kB / 0.5667 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1407, allocations: 0 / 0.5667 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.1407, allocations: 4 kB / 0.5667 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1407, allocations: 0 / 0.5667 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1407, allocations: 0 / 0.5667 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.1411, allocations: 209.5 kB / 0.5669 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.1412, allocations: 144.7 kB / 0.5671 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.1413, allocations: 7.984 kB / 0.5671 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.31e-05/0.1413, allocations: 4 kB / 0.5671 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.1414, allocations: 7.984 kB / 0.5671 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.1414, allocations: 8 kB / 0.5671 GB, free: 11.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001107/0.1425, allocations: 0.78 MB / 0.5678 GB, free: 10.26 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1425, allocations: 4 kB / 0.5678 GB, free: 10.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000278/0.1428, allocations: 47.92 kB / 0.5679 GB, free: 10.21 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001514/0.1443, allocations: 411.2 kB / 0.5683 GB, free: 9.949 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.1446, allocations: 75.84 kB / 0.5684 GB, free: 9.875 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1446, allocations: 0 / 0.5684 GB, free: 9.875 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.1447, allocations: 35.98 kB / 0.5684 GB, free: 9.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.1451, allocations: 85.97 kB / 0.5685 GB, free: 9.766 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1465, allocations: 0.9301 MB / 0.5694 GB, free: 8.801 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007417/0.1473, allocations: 0.8466 MB / 0.5702 GB, free: 7.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.019e-05/0.1474, allocations: 27.44 kB / 0.5702 GB, free: 7.906 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1474, allocations: 0 / 0.5702 GB, free: 7.906 MB / 430.1 MB Notification: Performance of Templates: time 0.01017/0.1575, allocations: 5.206 MB / 0.5753 GB, free: 2.699 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.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.203959618927911]