Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.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.001688/0.001688, allocations: 114.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.001886/0.001886, 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.483/1.483, 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.2315/0.2315, allocations: 46.88 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75") [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.002321/0.002321, allocations: 83.86 kB / 0.4925 GB, free: 7.777 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1323, allocations: 65.98 MB / 0.5569 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003493/0.1358, allocations: 1.929 MB / 0.5588 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.1378, allocations: 1.138 MB / 0.5599 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.73e-05/0.1379, allocations: 4 kB / 0.5599 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004986/0.1384, allocations: 223.4 kB / 0.5601 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004774/0.1389, allocations: 227.2 kB / 0.5603 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.1392, allocations: 111.6 kB / 0.5604 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.1395, allocations: 255.3 kB / 0.5607 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1397, allocations: 21.66 kB / 0.5607 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.1399, allocations: 131.5 kB / 0.5608 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.1401, allocations: 163.5 kB / 0.561 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.1401, allocations: 8 kB / 0.561 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.1403, allocations: 63.97 kB / 0.5611 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1404, allocations: 63.7 kB / 0.5611 GB, free: 1.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.1405, allocations: 95.28 kB / 0.5612 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.1408, allocations: 238.8 kB / 0.5614 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1408, allocations: 0 / 0.5614 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1408, allocations: 3.938 kB / 0.5614 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1409, allocations: 0 / 0.5614 GB, free: 0.9883 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008746/0.1417, allocations: 0.5795 MB / 0.562 GB, free: 368 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1418, allocations: 8.031 kB / 0.562 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.924e-05/0.1418, allocations: 32.75 kB / 0.562 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005103/0.1424, allocations: 292.3 kB / 0.5623 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.1424, allocations: 384 / 0.5623 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.1424, allocations: 16.31 kB / 0.5623 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.1427, allocations: 115.6 kB / 0.5624 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1427, allocations: 0 / 0.5624 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1427, allocations: 0 / 0.5624 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.1427, allocations: 4 kB / 0.5624 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.1429, allocations: 55.88 kB / 0.5625 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006177/0.1435, allocations: 468.8 kB / 0.5629 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004332/0.1439, allocations: 121.2 kB / 0.5631 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.144, allocations: 41.83 kB / 0.5631 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.1441, allocations: 4.156 kB / 0.5631 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.1443, allocations: 121 kB / 0.5632 GB, free: 14.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.1443, allocations: 0 / 0.5632 GB, free: 14.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.0014/0.1457, allocations: 0.5052 MB / 0.5637 GB, free: 14.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/0.1458, allocations: 81.11 kB / 0.5638 GB, free: 14.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005069/0.1463, allocations: 452.5 kB / 0.5642 GB, free: 13.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.1463, allocations: 29.7 kB / 0.5643 GB, free: 13.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.1464, allocations: 164.4 kB / 0.5644 GB, free: 13.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.336e-05/0.1465, allocations: 71.42 kB / 0.5645 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.016e-05/0.1466, allocations: 41.7 kB / 0.5645 GB, free: 13.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.1468, allocations: 342.8 kB / 0.5648 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.1469, allocations: 59.97 kB / 0.5649 GB, free: 13.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.1471, allocations: 99.28 kB / 0.565 GB, free: 13.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.1474, allocations: 159.3 kB / 0.5652 GB, free: 12.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.1474, allocations: 0 / 0.5652 GB, free: 12.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004874/0.1478, allocations: 233.6 kB / 0.5654 GB, free: 12.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1479, allocations: 10.09 kB / 0.5654 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1479, allocations: 0 / 0.5654 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.1479, allocations: 11.92 kB / 0.5654 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.148, allocations: 39.92 kB / 0.5654 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1481, allocations: 4 kB / 0.5654 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.692e-05/0.1481, allocations: 11.95 kB / 0.5654 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.1482, allocations: 8 kB / 0.5655 GB, free: 12.58 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001734/0.1483, allocations: 165.8 kB / 0.5656 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.1484, allocations: 35.8 kB / 0.5656 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.571e-05/0.1485, allocations: 46.75 kB / 0.5657 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.1485, allocations: 7.984 kB / 0.5657 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1485, allocations: 0 / 0.5657 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1485, allocations: 0 / 0.5657 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009856/0.1495, allocations: 0.7467 MB / 0.5664 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1495, allocations: 0 / 0.5664 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.798e-05/0.1496, allocations: 31.98 kB / 0.5665 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1496, allocations: 0 / 0.5665 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.1496, allocations: 8 kB / 0.5665 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1496, allocations: 3.984 kB / 0.5665 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/0.1496, allocations: 12.17 kB / 0.5665 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004972/0.1501, allocations: 420.4 kB / 0.5669 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-05/0.1502, allocations: 108.9 kB / 0.567 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.1502, allocations: 4 kB / 0.567 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.1504, allocations: 11.94 kB / 0.567 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.188e-05/0.1504, allocations: 35.84 kB / 0.567 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.1505, allocations: 8 kB / 0.567 GB, free: 10.83 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003961/0.1509, allocations: 335 kB / 0.5674 GB, free: 10.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1509, allocations: 0 / 0.5674 GB, free: 10.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000383/0.1512, allocations: 47.92 kB / 0.5674 GB, free: 10.45 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.00196/0.1532, allocations: 0.5031 MB / 0.5679 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003996/0.1536, allocations: 159.7 kB / 0.5681 GB, free: 9.988 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1536, allocations: 0 / 0.5681 GB, free: 9.988 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.1538, allocations: 67.91 kB / 0.5681 GB, free: 9.922 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005817/0.1543, allocations: 64.02 kB / 0.5682 GB, free: 9.867 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.1554, allocations: 0.5997 MB / 0.5688 GB, free: 9.223 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.1558, allocations: 0.7675 MB / 0.5695 GB, free: 8.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.89e-05/0.1559, allocations: 35.42 kB / 0.5695 GB, free: 8.395 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1559, allocations: 7.938 kB / 0.5696 GB, free: 8.387 MB / 430.1 MB Notification: Performance of Templates: time 0.006613/0.1625, allocations: 3.784 MB / 0.5732 GB, free: 4.613 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y,d2_t_new.y,d2_t_new_2.y Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time [Calling sys.exit(0), Time elapsed: 8.463893281063065]