Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.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.001778/0.001778, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.002329/0.002329, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.668/1.668, 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.2272/0.2272, 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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") [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.002247/0.002247, allocations: 83.86 kB / 0.4925 GB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.132, allocations: 65.99 MB / 0.5569 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003461/0.1355, allocations: 1.933 MB / 0.5588 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.1375, allocations: 1.141 MB / 0.5599 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.1376, allocations: 0 / 0.5599 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004074/0.138, allocations: 171.5 kB / 0.5601 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004439/0.1384, allocations: 175.3 kB / 0.5602 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.1387, allocations: 119.6 kB / 0.5603 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000335/0.1391, allocations: 239.3 kB / 0.5606 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1392, allocations: 29.66 kB / 0.5606 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.1394, allocations: 107.6 kB / 0.5607 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.1396, allocations: 139.5 kB / 0.5608 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.1396, allocations: 12 kB / 0.5608 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.1397, allocations: 67.95 kB / 0.5609 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.533e-05/0.1398, allocations: 51.78 kB / 0.561 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.1399, allocations: 87.28 kB / 0.561 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.1402, allocations: 223 kB / 0.5613 GB, free: 1.352 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1402, allocations: 0 / 0.5613 GB, free: 1.352 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1402, allocations: 0 / 0.5613 GB, free: 1.352 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1402, allocations: 0 / 0.5613 GB, free: 1.352 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.0008052/0.141, allocations: 0.5523 MB / 0.5618 GB, free: 0.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1411, allocations: 12.03 kB / 0.5618 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.1412, allocations: 36.67 kB / 0.5618 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.1416, allocations: 275.8 kB / 0.5621 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1416, allocations: 384 / 0.5621 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.1416, allocations: 16.36 kB / 0.5621 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.1419, allocations: 113.1 kB / 0.5622 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1419, allocations: 3.938 kB / 0.5622 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1419, allocations: 7.922 kB / 0.5622 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.1419, allocations: 4 kB / 0.5622 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.142, allocations: 43.97 kB / 0.5623 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.1427, allocations: 468.7 kB / 0.5627 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.143, allocations: 121.2 kB / 0.5629 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.1431, allocations: 41.77 kB / 0.5629 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.1432, allocations: 3.938 kB / 0.5629 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/0.1434, allocations: 121 kB / 0.563 GB, free: 15.37 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.1434, allocations: 0 / 0.563 GB, free: 15.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001337/0.1447, allocations: 0.4938 MB / 0.5635 GB, free: 14.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.1448, allocations: 85.11 kB / 0.5636 GB, free: 14.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/0.1452, allocations: 367.3 kB / 0.5639 GB, free: 14.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.1452, allocations: 33.7 kB / 0.564 GB, free: 14.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.1453, allocations: 148.5 kB / 0.5641 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.631e-05/0.1454, allocations: 75.38 kB / 0.5642 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.834e-05/0.1455, allocations: 45.7 kB / 0.5642 GB, free: 14.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1456, allocations: 342.8 kB / 0.5645 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.1458, allocations: 55.97 kB / 0.5646 GB, free: 13.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.1459, allocations: 91.34 kB / 0.5647 GB, free: 13.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.1462, allocations: 159.5 kB / 0.5648 GB, free: 13.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1462, allocations: 4 kB / 0.5648 GB, free: 13.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004174/0.1466, allocations: 237.3 kB / 0.5651 GB, free: 13.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1466, allocations: 4 kB / 0.5651 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1466, allocations: 0 / 0.5651 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.1466, allocations: 7.938 kB / 0.5651 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.1468, allocations: 39.97 kB / 0.5651 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1468, allocations: 4.234 kB / 0.5651 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.048e-05/0.1469, allocations: 11.94 kB / 0.5651 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.1469, allocations: 8 kB / 0.5651 GB, free: 13.09 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.0001606/0.1471, allocations: 157.9 kB / 0.5653 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.1471, allocations: 27.81 kB / 0.5653 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.281e-05/0.1472, allocations: 45.75 kB / 0.5654 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1472, allocations: 0 / 0.5654 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1472, allocations: 4 kB / 0.5654 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1472, allocations: 0 / 0.5654 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009297/0.1481, allocations: 0.731 MB / 0.5661 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.1481, allocations: 7.938 kB / 0.5661 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.775e-05/0.1482, allocations: 31.92 kB / 0.5661 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1482, allocations: 3.984 kB / 0.5661 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.1482, allocations: 8 kB / 0.5661 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1482, allocations: 4 kB / 0.5661 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.1483, allocations: 4 kB / 0.5661 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.1487, allocations: 424.2 kB / 0.5665 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.082e-05/0.1488, allocations: 104.9 kB / 0.5666 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.1489, allocations: 8 kB / 0.5666 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.149, allocations: 11.98 kB / 0.5667 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.1491, allocations: 19.92 kB / 0.5667 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.1491, allocations: 11.98 kB / 0.5667 GB, free: 11.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002823/0.1494, allocations: 277.9 kB / 0.567 GB, free: 11.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1494, allocations: 0 / 0.567 GB, free: 11.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003593/0.1497, allocations: 47.94 kB / 0.567 GB, free: 11.06 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.001911/0.1516, allocations: 0.5142 MB / 0.5675 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000375/0.152, allocations: 144 kB / 0.5676 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.152, allocations: 0 / 0.5676 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.1522, allocations: 71.84 kB / 0.5677 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.1527, allocations: 60.55 kB / 0.5678 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009111/0.1536, allocations: 0.5405 MB / 0.5683 GB, free: 9.883 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.154, allocations: 0.7597 MB / 0.569 GB, free: 9.098 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.155e-05/0.1541, allocations: 35.42 kB / 0.5691 GB, free: 9.062 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1541, allocations: 0 / 0.5691 GB, free: 9.062 MB / 430.1 MB Notification: Performance of Templates: time 0.006256/0.1604, allocations: 3.624 MB / 0.5726 GB, free: 5.453 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.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.19124583597295]