Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.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.001464/0.001464, allocations: 118.7 kB / 19.18 MB, free: 3.887 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.001427/0.001427, allocations: 202.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.541/1.541, allocations: 230.3 MB / 255.2 MB, free: 15.2 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.2405/0.2405, allocations: 46.92 MB / 358.2 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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") [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.002338/0.002338, allocations: 83.86 kB / 0.4926 GB, free: 7.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1376, allocations: 66 MB / 0.5571 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003561/0.1412, allocations: 1.929 MB / 0.5589 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.1432, allocations: 1.126 MB / 0.56 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.028e-05/0.1433, allocations: 7.938 kB / 0.5601 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004317/0.1437, allocations: 167.5 kB / 0.5602 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004208/0.1441, allocations: 187.3 kB / 0.5604 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.1444, allocations: 119.6 kB / 0.5605 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.1447, allocations: 243.3 kB / 0.5607 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.1448, allocations: 17.69 kB / 0.5608 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.145, allocations: 119.5 kB / 0.5609 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.1452, allocations: 143.5 kB / 0.561 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.1452, allocations: 11.94 kB / 0.561 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1453, allocations: 63.97 kB / 0.5611 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.608e-05/0.1454, allocations: 55.78 kB / 0.5611 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.123e-05/0.1455, allocations: 83.34 kB / 0.5612 GB, free: 1.246 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.1458, allocations: 230.9 kB / 0.5614 GB, free: 1.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1458, allocations: 0 / 0.5614 GB, free: 1.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1458, allocations: 0 / 0.5614 GB, free: 1.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1458, allocations: 0 / 0.5614 GB, free: 1.02 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.0008776/0.1467, allocations: 0.5445 MB / 0.562 GB, free: 436 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1468, allocations: 16.02 kB / 0.562 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.959e-05/0.1468, allocations: 28.75 kB / 0.562 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.1472, allocations: 283.7 kB / 0.5623 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.1473, allocations: 8.312 kB / 0.5623 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.1473, allocations: 12.38 kB / 0.5623 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.1476, allocations: 113.1 kB / 0.5624 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1476, allocations: 0 / 0.5624 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.1476, allocations: 0 / 0.5624 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1476, allocations: 4 kB / 0.5624 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/0.1479, allocations: 51.91 kB / 0.5625 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006166/0.1485, allocations: 464.7 kB / 0.5629 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.1489, allocations: 125.2 kB / 0.563 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.149, allocations: 37.83 kB / 0.5631 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.149, allocations: 0 / 0.5631 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.1492, allocations: 124.1 kB / 0.5632 GB, free: 15.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 3.556e-06/0.1492, allocations: 4 kB / 0.5632 GB, free: 15.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001329/0.1506, allocations: 0.49 MB / 0.5637 GB, free: 14.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.1506, allocations: 81.11 kB / 0.5637 GB, free: 14.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.151, allocations: 367.3 kB / 0.5641 GB, free: 14.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.1511, allocations: 37.69 kB / 0.5641 GB, free: 14.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.1512, allocations: 144.5 kB / 0.5643 GB, free: 13.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.501e-05/0.1512, allocations: 83.36 kB / 0.5643 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-05/0.1513, allocations: 45.7 kB / 0.5644 GB, free: 13.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1515, allocations: 338.8 kB / 0.5647 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.1516, allocations: 55.97 kB / 0.5648 GB, free: 13.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.1518, allocations: 95.28 kB / 0.5649 GB, free: 13.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.1521, allocations: 159.5 kB / 0.565 GB, free: 13.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1521, allocations: 4 kB / 0.565 GB, free: 13.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004169/0.1526, allocations: 229.3 kB / 0.5652 GB, free: 12.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1526, allocations: 4 kB / 0.5652 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1526, allocations: 3.984 kB / 0.5652 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.1526, allocations: 7.938 kB / 0.5652 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.1527, allocations: 47.97 kB / 0.5653 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.1528, allocations: 7.938 kB / 0.5653 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.313e-05/0.1528, allocations: 15.94 kB / 0.5653 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.1529, allocations: 11.98 kB / 0.5653 GB, free: 12.75 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.000152/0.153, allocations: 153.8 kB / 0.5655 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.1531, allocations: 27.81 kB / 0.5655 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.473e-05/0.1531, allocations: 41.77 kB / 0.5655 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1531, allocations: 0 / 0.5655 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1531, allocations: 4 kB / 0.5655 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1531, allocations: 7.984 kB / 0.5655 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009402/0.1541, allocations: 0.7117 MB / 0.5662 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1541, allocations: 7.938 kB / 0.5662 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.56e-05/0.1542, allocations: 27.98 kB / 0.5663 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1542, allocations: 4.125 kB / 0.5663 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.1542, allocations: 8 kB / 0.5663 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1542, allocations: 4 kB / 0.5663 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1542, allocations: 4 kB / 0.5663 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.1547, allocations: 421.8 kB / 0.5667 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.179e-05/0.1548, allocations: 100.9 kB / 0.5668 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.1548, allocations: 11.98 kB / 0.5668 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.155, allocations: 8 kB / 0.5668 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/0.155, allocations: 23.84 kB / 0.5668 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.1551, allocations: 12 kB / 0.5668 GB, free: 11.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002839/0.1553, allocations: 281.9 kB / 0.5671 GB, free: 10.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1553, allocations: 0 / 0.5671 GB, free: 10.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003559/0.1557, allocations: 47.92 kB / 0.5672 GB, free: 10.74 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.002149/0.1578, allocations: 0.5126 MB / 0.5677 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003684/0.1582, allocations: 147.8 kB / 0.5678 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1582, allocations: 3.938 kB / 0.5678 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.1584, allocations: 76.03 kB / 0.5679 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.1589, allocations: 62.48 kB / 0.5679 GB, free: 10.13 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009312/0.1599, allocations: 0.5372 MB / 0.5685 GB, free: 9.543 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.1603, allocations: 0.7639 MB / 0.5692 GB, free: 8.754 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.328e-05/0.1603, allocations: 27.44 kB / 0.5692 GB, free: 8.727 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1603, allocations: 0 / 0.5692 GB, free: 8.727 MB / 430.1 MB Notification: Performance of Templates: time 0.006438/0.1668, allocations: 3.622 MB / 0.5728 GB, free: 5.109 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.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: 7.968845444003819]