Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.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.001516/0.001516, allocations: 107.8 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.001663/0.001663, allocations: 208.9 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.505/1.505, 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.2327/0.2327, 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8") [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.002208/0.002208, allocations: 83.86 kB / 0.4925 GB, free: 8.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.136, allocations: 65.99 MB / 0.5569 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003335/0.1393, allocations: 1.769 MB / 0.5586 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.1411, allocations: 1.028 MB / 0.5596 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.639e-05/0.1412, allocations: 3.938 kB / 0.5596 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.1416, allocations: 111.7 kB / 0.5597 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003578/0.1419, allocations: 123.5 kB / 0.5599 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.1422, allocations: 83.66 kB / 0.5599 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.1424, allocations: 127.7 kB / 0.5601 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1425, allocations: 15.97 kB / 0.5601 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.1426, allocations: 67.75 kB / 0.5601 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.1428, allocations: 75.69 kB / 0.5602 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1428, allocations: 4 kB / 0.5602 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.1429, allocations: 63.97 kB / 0.5603 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.186e-05/0.143, allocations: 31.91 kB / 0.5603 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.106e-05/0.1431, allocations: 47.61 kB / 0.5604 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.1433, allocations: 147.4 kB / 0.5605 GB, free: 2.246 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1433, allocations: 0 / 0.5605 GB, free: 2.246 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1433, allocations: 0 / 0.5605 GB, free: 2.246 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.1434, allocations: 3.938 kB / 0.5605 GB, free: 2.242 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006844/0.144, allocations: 470.3 kB / 0.5609 GB, free: 1.734 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1441, allocations: 12.03 kB / 0.561 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.1441, allocations: 12.84 kB / 0.561 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.1445, allocations: 233 kB / 0.5612 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.1445, allocations: 384 / 0.5612 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.1445, allocations: 8.375 kB / 0.5612 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.1447, allocations: 73.84 kB / 0.5613 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1447, allocations: 4 kB / 0.5613 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1448, allocations: 8 kB / 0.5613 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1448, allocations: 0 / 0.5613 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1449, allocations: 27.97 kB / 0.5613 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.1453, allocations: 324.7 kB / 0.5616 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.1456, allocations: 70.53 kB / 0.5617 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.94e-05/0.1457, allocations: 24.84 kB / 0.5617 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.1457, allocations: 4 kB / 0.5617 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.1459, allocations: 71.39 kB / 0.5618 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.1459, allocations: 0 / 0.5618 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008469/0.1467, allocations: 277.1 kB / 0.562 GB, free: 492 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.1468, allocations: 51.41 kB / 0.5621 GB, free: 428 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.1471, allocations: 263.8 kB / 0.5623 GB, free: 152 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1471, allocations: 25.7 kB / 0.5624 GB, free: 120 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/0.1472, allocations: 116.3 kB / 0.5625 GB, free: 0 / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.001e-05/0.1473, allocations: 43.78 kB / 0.5625 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.1473, allocations: 29.7 kB / 0.5626 GB, free: 15.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1475, allocations: 326.8 kB / 0.5629 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.053e-05/0.1476, allocations: 35.98 kB / 0.5629 GB, free: 15.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1477, allocations: 64.81 kB / 0.563 GB, free: 15.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.1478, allocations: 89.55 kB / 0.563 GB, free: 15.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1478, allocations: 0 / 0.563 GB, free: 15.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002559/0.1481, allocations: 137.5 kB / 0.5632 GB, free: 15.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1481, allocations: 8 kB / 0.5632 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1481, allocations: 0 / 0.5632 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1481, allocations: 0 / 0.5632 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.1482, allocations: 27.92 kB / 0.5632 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1482, allocations: 4.031 kB / 0.5632 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.318e-05/0.1483, allocations: 15.89 kB / 0.5632 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1483, allocations: 4 kB / 0.5632 GB, free: 15.2 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 (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.0001203/0.1484, allocations: 131.7 kB / 0.5634 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.1484, allocations: 15.91 kB / 0.5634 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.433e-05/0.1485, allocations: 29.39 kB / 0.5634 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1485, allocations: 0 / 0.5634 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1485, allocations: 0 / 0.5634 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.1485, allocations: 3.938 kB / 0.5634 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006115/0.1491, allocations: 484 kB / 0.5639 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1491, allocations: 0 / 0.5639 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.647e-05/0.1492, allocations: 19.92 kB / 0.5639 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.1492, allocations: 7.938 kB / 0.5639 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1492, allocations: 0 / 0.5639 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1492, allocations: 4 kB / 0.5639 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1492, allocations: 3.938 kB / 0.5639 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.1495, allocations: 245.2 kB / 0.5641 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.677e-05/0.1496, allocations: 100.9 kB / 0.5642 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.1496, allocations: 4 kB / 0.5642 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.1497, allocations: 7.984 kB / 0.5642 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.1497, allocations: 7.938 kB / 0.5643 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.1498, allocations: 15.98 kB / 0.5643 GB, free: 14.03 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001883/0.15, allocations: 193.5 kB / 0.5645 GB, free: 13.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.15, allocations: 0 / 0.5645 GB, free: 13.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.1502, allocations: 35.94 kB / 0.5645 GB, free: 13.8 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001918/0.1521, allocations: 0.5001 MB / 0.565 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.1524, allocations: 83.91 kB / 0.5651 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1524, allocations: 4.062 kB / 0.5651 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.807e-05/0.1525, allocations: 39.92 kB / 0.5651 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.1529, allocations: 43.84 kB / 0.5651 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006962/0.1536, allocations: 350.1 kB / 0.5655 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.154, allocations: 0.7309 MB / 0.5662 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.1541, allocations: 23.42 kB / 0.5662 GB, free: 12.17 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1541, allocations: 0 / 0.5662 GB, free: 12.17 MB / 430.1 MB Notification: Performance of Templates: time 0.00479/0.1589, allocations: 2.432 MB / 0.5686 GB, free: 9.746 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.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.224641451146454]