Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.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.001648/0.001648, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001714/0.001714, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.461/1.461, allocations: 230.2 MB / 255.1 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.2333/0.2333, allocations: 46.88 MB / 358.1 MB, free: 10.52 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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") [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.002251/0.002251, allocations: 91.84 kB / 0.4925 GB, free: 8.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1308, allocations: 65.98 MB / 0.5569 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003671/0.1344, allocations: 1.929 MB / 0.5588 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.1364, allocations: 1.138 MB / 0.5599 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.1365, allocations: 3.938 kB / 0.5599 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005358/0.137, allocations: 263.3 kB / 0.5601 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005206/0.1376, allocations: 235.2 kB / 0.5604 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.1378, allocations: 115.6 kB / 0.5605 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003487/0.1382, allocations: 267.3 kB / 0.5607 GB, free: 2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1383, allocations: 25.66 kB / 0.5608 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.1385, allocations: 131.5 kB / 0.5609 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.1387, allocations: 207.4 kB / 0.5611 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.1388, allocations: 8 kB / 0.5611 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.1389, allocations: 67.98 kB / 0.5612 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.987e-05/0.139, allocations: 71.62 kB / 0.5612 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.1391, allocations: 95.23 kB / 0.5613 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.1395, allocations: 250.8 kB / 0.5616 GB, free: 1.156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1395, allocations: 3.938 kB / 0.5616 GB, free: 1.152 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1395, allocations: 0 / 0.5616 GB, free: 1.152 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1395, allocations: 3.938 kB / 0.5616 GB, free: 1.148 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.0008509/0.1403, allocations: 0.591 MB / 0.5621 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1404, allocations: 8.031 kB / 0.5621 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.19e-05/0.1405, allocations: 36.75 kB / 0.5622 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.1409, allocations: 310.6 kB / 0.5625 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1409, allocations: 4.375 kB / 0.5625 GB, free: 124 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.1409, allocations: 12.36 kB / 0.5625 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.1412, allocations: 105.3 kB / 0.5626 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.1412, allocations: 3.938 kB / 0.5626 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.1412, allocations: 8 kB / 0.5626 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.1412, allocations: 4 kB / 0.5626 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.1414, allocations: 47.91 kB / 0.5627 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006539/0.142, allocations: 484.7 kB / 0.5631 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.1424, allocations: 121.2 kB / 0.5632 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1426, allocations: 37.83 kB / 0.5633 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.1426, allocations: 4 kB / 0.5633 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.1428, allocations: 128.5 kB / 0.5634 GB, free: 15.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.1428, allocations: 4 kB / 0.5634 GB, free: 15.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001389/0.1442, allocations: 0.5132 MB / 0.5639 GB, free: 14.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.1443, allocations: 81.11 kB / 0.564 GB, free: 14.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005216/0.1448, allocations: 497.6 kB / 0.5645 GB, free: 13.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.1448, allocations: 29.7 kB / 0.5645 GB, free: 13.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.145, allocations: 176.4 kB / 0.5647 GB, free: 13.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.114e-05/0.145, allocations: 71.42 kB / 0.5647 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.309e-05/0.1451, allocations: 45.7 kB / 0.5648 GB, free: 13.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1453, allocations: 346.8 kB / 0.5651 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.1454, allocations: 55.97 kB / 0.5651 GB, free: 13.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.1456, allocations: 95.28 kB / 0.5652 GB, free: 13.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.1459, allocations: 163.5 kB / 0.5654 GB, free: 12.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1459, allocations: 4 kB / 0.5654 GB, free: 12.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004071/0.1463, allocations: 233.3 kB / 0.5656 GB, free: 12.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1463, allocations: 8 kB / 0.5656 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.1463, allocations: 4 kB / 0.5656 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.1463, allocations: 8 kB / 0.5656 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.1465, allocations: 47.92 kB / 0.5657 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.1465, allocations: 7.984 kB / 0.5657 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.572e-05/0.1466, allocations: 8 kB / 0.5657 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.1466, allocations: 4 kB / 0.5657 GB, free: 12.62 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.0001957/0.1468, allocations: 173.8 kB / 0.5659 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.1469, allocations: 35.77 kB / 0.5659 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.392e-05/0.1469, allocations: 46.88 kB / 0.5659 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.147, allocations: 7.938 kB / 0.566 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.147, allocations: 7.938 kB / 0.566 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.147, allocations: 0 / 0.566 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009883/0.148, allocations: 0.7389 MB / 0.5667 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.148, allocations: 0 / 0.5667 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.318e-05/0.148, allocations: 32.11 kB / 0.5667 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.148, allocations: 4 kB / 0.5667 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.1481, allocations: 7.984 kB / 0.5667 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1481, allocations: 4 kB / 0.5667 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.1481, allocations: 7.922 kB / 0.5667 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005228/0.1486, allocations: 429.8 kB / 0.5671 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.044e-05/0.1487, allocations: 104.9 kB / 0.5672 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.1487, allocations: 8 kB / 0.5673 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.1489, allocations: 7.984 kB / 0.5673 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.1489, allocations: 23.86 kB / 0.5673 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.1489, allocations: 15.94 kB / 0.5673 GB, free: 10.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003905/0.1493, allocations: 375.1 kB / 0.5677 GB, free: 10.49 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1493, allocations: 0 / 0.5677 GB, free: 10.49 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003737/0.1497, allocations: 55.92 kB / 0.5677 GB, free: 10.43 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.001926/0.1516, allocations: 0.5011 MB / 0.5682 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003838/0.152, allocations: 147.8 kB / 0.5683 GB, free: 9.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.152, allocations: 8.062 kB / 0.5683 GB, free: 9.973 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.1522, allocations: 67.91 kB / 0.5684 GB, free: 9.906 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005645/0.1527, allocations: 71.05 kB / 0.5685 GB, free: 9.848 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.1538, allocations: 0.6426 MB / 0.5691 GB, free: 9.152 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.1543, allocations: 0.7831 MB / 0.5699 GB, free: 8.344 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.1543, allocations: 39.36 kB / 0.5699 GB, free: 8.305 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1543, allocations: 0 / 0.5699 GB, free: 8.305 MB / 430.1 MB Notification: Performance of Templates: time 0.00711/0.1615, allocations: 3.873 MB / 0.5737 GB, free: 4.438 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.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.092050046892837]