Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.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.00175/0.00175, 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.002234/0.002234, 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.545/1.545, allocations: 230.2 MB / 255.2 MB, free: 15.24 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.2937/0.2937, allocations: 46.89 MB / 358.1 MB, free: 10.5 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71") [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.002231/0.002231, allocations: 91.84 kB / 0.4924 GB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.132, allocations: 65.99 MB / 0.5569 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003525/0.1355, allocations: 1.836 MB / 0.5587 GB, free: 4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.1376, allocations: 1.114 MB / 0.5597 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.1377, allocations: 3.938 kB / 0.5597 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006287/0.1383, allocations: 307.3 kB / 0.56 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006256/0.139, allocations: 263.2 kB / 0.5603 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.1393, allocations: 103.6 kB / 0.5604 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004245/0.1397, allocations: 263.3 kB / 0.5606 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.795e-05/0.1398, allocations: 9.672 kB / 0.5607 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.14, allocations: 123.6 kB / 0.5608 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.1403, allocations: 231.4 kB / 0.561 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.1403, allocations: 8 kB / 0.561 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1404, allocations: 39.98 kB / 0.561 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.1406, allocations: 143.6 kB / 0.5612 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.1407, allocations: 150.7 kB / 0.5613 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.1412, allocations: 386.2 kB / 0.5617 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1412, allocations: 0 / 0.5617 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1412, allocations: 0 / 0.5617 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1412, allocations: 0 / 0.5617 GB, free: 0.8867 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.001084/0.1423, allocations: 0.7577 MB / 0.5624 GB, free: 80 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.1424, allocations: 12.03 kB / 0.5624 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.054e-05/0.1424, allocations: 48.61 kB / 0.5625 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007669/0.1432, allocations: 468.4 kB / 0.5629 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.1432, allocations: 4.375 kB / 0.5629 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.1432, allocations: 384 / 0.5629 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.1435, allocations: 91.67 kB / 0.563 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1435, allocations: 0 / 0.563 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1435, allocations: 0 / 0.563 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.1435, allocations: 3.938 kB / 0.563 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.1436, allocations: 39.81 kB / 0.5631 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.1441, allocations: 378.3 kB / 0.5634 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.1445, allocations: 101.2 kB / 0.5635 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.1446, allocations: 45.69 kB / 0.5636 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1446, allocations: 0 / 0.5636 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.1449, allocations: 109 kB / 0.5637 GB, free: 14.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.153e-06/0.1449, allocations: 0 / 0.5637 GB, free: 14.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005247/0.1454, allocations: 205.4 kB / 0.5639 GB, free: 14.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.1455, allocations: 85.09 kB / 0.5639 GB, free: 14.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.1468, allocations: 1.046 MB / 0.565 GB, free: 13.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.1469, allocations: 33.7 kB / 0.565 GB, free: 13.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.1471, allocations: 232.1 kB / 0.5652 GB, free: 13.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.62e-05/0.1471, allocations: 39.73 kB / 0.5653 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.1472, allocations: 21.72 kB / 0.5653 GB, free: 12.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.1474, allocations: 378.8 kB / 0.5656 GB, free: 12.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.951e-05/0.1475, allocations: 23.98 kB / 0.5657 GB, free: 12.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.1476, allocations: 55.42 kB / 0.5657 GB, free: 12.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.1478, allocations: 91.34 kB / 0.5658 GB, free: 12.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1478, allocations: 4 kB / 0.5658 GB, free: 12.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003185/0.1481, allocations: 173.2 kB / 0.566 GB, free: 12.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1481, allocations: 4 kB / 0.566 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1481, allocations: 0 / 0.566 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.1481, allocations: 4 kB / 0.566 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.1483, allocations: 23.92 kB / 0.566 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1483, allocations: 0 / 0.566 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.1484, allocations: 15.98 kB / 0.566 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.1484, allocations: 8.062 kB / 0.566 GB, free: 12.15 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.0002357/0.1486, allocations: 226.1 kB / 0.5662 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.342e-05/0.1487, allocations: 63.48 kB / 0.5663 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.237e-05/0.1488, allocations: 60.14 kB / 0.5664 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1488, allocations: 0 / 0.5664 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1488, allocations: 8 kB / 0.5664 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1488, allocations: 0 / 0.5664 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.1492, allocations: 345.4 kB / 0.5667 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1492, allocations: 0 / 0.5667 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.1492, allocations: 19.88 kB / 0.5667 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1492, allocations: 0 / 0.5667 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.1493, allocations: 11.98 kB / 0.5667 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1493, allocations: 0 / 0.5667 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1493, allocations: 0 / 0.5667 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.1496, allocations: 201.5 kB / 0.5669 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.1498, allocations: 144.7 kB / 0.5671 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.1498, allocations: 8 kB / 0.5671 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/0.1499, allocations: 7.984 kB / 0.5671 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.1499, allocations: 7.984 kB / 0.5671 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.15, allocations: 4 kB / 0.5671 GB, free: 10.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009174/0.1509, allocations: 0.7839 MB / 0.5678 GB, free: 10.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1509, allocations: 0 / 0.5678 GB, free: 10.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.1512, allocations: 47.94 kB / 0.5679 GB, free: 10.14 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.001575/0.1527, allocations: 420 kB / 0.5683 GB, free: 9.867 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.153, allocations: 75.89 kB / 0.5684 GB, free: 9.793 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.153, allocations: 0 / 0.5684 GB, free: 9.793 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.1531, allocations: 39.92 kB / 0.5684 GB, free: 9.754 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.1536, allocations: 69.02 kB / 0.5685 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.1551, allocations: 0.9263 MB / 0.5694 GB, free: 8.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006086/0.1557, allocations: 0.8505 MB / 0.5702 GB, free: 7.855 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.1557, allocations: 31.38 kB / 0.5702 GB, free: 7.828 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1557, allocations: 0 / 0.5702 GB, free: 7.828 MB / 430.1 MB Notification: Performance of Templates: time 0.009242/0.165, allocations: 5.206 MB / 0.5753 GB, free: 2.621 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.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.279803491896018]