Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.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.001372/0.001372, 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.001431/0.001431, 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.619/1.619, 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.2346/0.2346, allocations: 46.89 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.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15") [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.002249/0.002249, allocations: 75.88 kB / 0.4924 GB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1401, allocations: 65.99 MB / 0.5568 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.0033/0.1434, allocations: 1.63 MB / 0.5584 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.1445, allocations: 0.5566 MB / 0.559 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.624e-05/0.1445, allocations: 0 / 0.559 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.1448, allocations: 79.7 kB / 0.559 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.1451, allocations: 103.6 kB / 0.5591 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.1455, allocations: 119.2 kB / 0.5592 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.1457, allocations: 83.75 kB / 0.5593 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1458, allocations: 15.98 kB / 0.5593 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.257e-05/0.1459, allocations: 35.91 kB / 0.5594 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.146, allocations: 59.75 kB / 0.5594 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.146, allocations: 4 kB / 0.5594 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1461, allocations: 51.97 kB / 0.5595 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.408e-05/0.1462, allocations: 23.86 kB / 0.5595 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.74e-05/0.1462, allocations: 27.75 kB / 0.5595 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.1465, allocations: 111.6 kB / 0.5596 GB, free: 2.996 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1465, allocations: 0 / 0.5596 GB, free: 2.996 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1465, allocations: 0 / 0.5596 GB, free: 2.996 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1465, allocations: 0 / 0.5596 GB, free: 2.996 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000607/0.1471, allocations: 418.7 kB / 0.56 GB, free: 2.535 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1471, allocations: 11.97 kB / 0.56 GB, free: 2.523 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.1472, allocations: 16.84 kB / 0.5601 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.1474, allocations: 208.8 kB / 0.5603 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-06/0.1474, allocations: 384 / 0.5603 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.1474, allocations: 8.375 kB / 0.5603 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1476, allocations: 50.25 kB / 0.5603 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1476, allocations: 192 / 0.5603 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1476, allocations: 7.922 kB / 0.5603 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1476, allocations: 0 / 0.5603 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.865e-05/0.1477, allocations: 23.98 kB / 0.5603 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.1482, allocations: 308.7 kB / 0.5606 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.1483, allocations: 46.55 kB / 0.5607 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.712e-05/0.1484, allocations: 20.94 kB / 0.5607 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.1484, allocations: 0 / 0.5607 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.1484, allocations: 34.56 kB / 0.5607 GB, free: 1.695 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.1484, allocations: 0 / 0.5607 GB, free: 1.695 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009682/0.1494, allocations: 241.3 kB / 0.561 GB, free: 1.453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.1494, allocations: 55.34 kB / 0.561 GB, free: 1.387 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.1497, allocations: 218.3 kB / 0.5612 GB, free: 1.164 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.1497, allocations: 29.7 kB / 0.5613 GB, free: 1.129 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.532e-05/0.1498, allocations: 108 kB / 0.5614 GB, free: 1.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.1498, allocations: 27.81 kB / 0.5614 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.1499, allocations: 21.7 kB / 0.5614 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.15, allocations: 330.8 kB / 0.5617 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.61e-05/0.1501, allocations: 23.98 kB / 0.5617 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.421e-05/0.1502, allocations: 35.97 kB / 0.5618 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.1504, allocations: 68.83 kB / 0.5618 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1504, allocations: 7.938 kB / 0.5619 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002471/0.1506, allocations: 113.6 kB / 0.562 GB, free: 388 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1506, allocations: 7.938 kB / 0.562 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1506, allocations: 3.984 kB / 0.562 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1507, allocations: 0 / 0.562 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1508, allocations: 16 kB / 0.562 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1508, allocations: 0 / 0.562 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.1508, allocations: 7.984 kB / 0.562 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1508, allocations: 4 kB / 0.562 GB, free: 348 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001223/0.151, allocations: 137.7 kB / 0.5621 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.151, allocations: 15.91 kB / 0.5621 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.1513, allocations: 131.3 kB / 0.5623 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1513, allocations: 8 kB / 0.5623 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1513, allocations: 0 / 0.5623 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1513, allocations: 0 / 0.5623 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/0.1519, allocations: 435.1 kB / 0.5627 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1519, allocations: 0 / 0.5627 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.003e-05/0.152, allocations: 15.98 kB / 0.5627 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.152, allocations: 4 kB / 0.5627 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.152, allocations: 3.938 kB / 0.5627 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.152, allocations: 0 / 0.5627 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.152, allocations: 4 kB / 0.5627 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.1523, allocations: 212.3 kB / 0.5629 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.1524, allocations: 89 kB / 0.563 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.1524, allocations: 7.938 kB / 0.563 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.1525, allocations: 8 kB / 0.563 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.1525, allocations: 3.984 kB / 0.563 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.1525, allocations: 4 kB / 0.563 GB, free: 15.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.1527, allocations: 168.2 kB / 0.5632 GB, free: 15 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1527, allocations: 0 / 0.5632 GB, free: 15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1529, allocations: 20 kB / 0.5632 GB, free: 14.98 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001668/0.1546, allocations: 456.2 kB / 0.5636 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.1549, allocations: 75.88 kB / 0.5637 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1549, allocations: 0 / 0.5637 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.155, allocations: 39.92 kB / 0.5638 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.1554, allocations: 11.98 kB / 0.5638 GB, free: 14.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006147/0.156, allocations: 304.4 kB / 0.5641 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.1564, allocations: 0.708 MB / 0.5648 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.1564, allocations: 19.44 kB / 0.5648 GB, free: 13.5 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1564, allocations: 0 / 0.5648 GB, free: 13.5 MB / 430.1 MB Notification: Performance of Templates: time 0.004087/0.1605, allocations: 1.827 MB / 0.5666 GB, free: 11.67 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.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.011479283915833]