Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.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.002033/0.002033, allocations: 113.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.002488/0.002488, allocations: 212.9 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.533/1.533, 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.2347/0.2347, 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.CombiTable1Dv.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.Test5") [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.002265/0.002265, allocations: 87.84 kB / 0.4924 GB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1477, allocations: 65.99 MB / 0.5568 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003329/0.151, allocations: 1.621 MB / 0.5584 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1521, allocations: 0.5566 MB / 0.559 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.497e-05/0.1522, allocations: 0 / 0.559 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.1525, allocations: 99.67 kB / 0.5591 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.1528, allocations: 103.6 kB / 0.5592 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.1532, allocations: 119 kB / 0.5593 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.1533, allocations: 87.75 kB / 0.5594 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1535, allocations: 11.98 kB / 0.5594 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.65e-05/0.1535, allocations: 35.89 kB / 0.5594 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1537, allocations: 67.73 kB / 0.5595 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.1537, allocations: 4 kB / 0.5595 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1538, allocations: 47.98 kB / 0.5595 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.1538, allocations: 19.92 kB / 0.5595 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.325e-05/0.1539, allocations: 35.75 kB / 0.5596 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.1541, allocations: 115.4 kB / 0.5597 GB, free: 2.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1541, allocations: 0 / 0.5597 GB, free: 2.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1541, allocations: 0 / 0.5597 GB, free: 2.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1541, allocations: 0 / 0.5597 GB, free: 2.98 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.0006248/0.1548, allocations: 426.6 kB / 0.5601 GB, free: 2.512 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.1548, allocations: 8.031 kB / 0.5601 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.1549, allocations: 20.83 kB / 0.5601 GB, free: 2.484 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.1551, allocations: 196.2 kB / 0.5603 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1551, allocations: 4.359 kB / 0.5603 GB, free: 2.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.1552, allocations: 8.328 kB / 0.5603 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.1553, allocations: 54.19 kB / 0.5604 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1553, allocations: 4.125 kB / 0.5604 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1554, allocations: 3.938 kB / 0.5604 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1554, allocations: 0 / 0.5604 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.1555, allocations: 27.97 kB / 0.5604 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.156, allocations: 312.8 kB / 0.5607 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1561, allocations: 50.5 kB / 0.5607 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/0.1561, allocations: 16.88 kB / 0.5608 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1561, allocations: 4 kB / 0.5608 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.1562, allocations: 34.56 kB / 0.5608 GB, free: 1.668 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1562, allocations: 0 / 0.5608 GB, free: 1.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009575/0.1571, allocations: 241.5 kB / 0.561 GB, free: 1.426 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.1572, allocations: 55.41 kB / 0.5611 GB, free: 1.359 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.1574, allocations: 231.2 kB / 0.5613 GB, free: 1.121 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1574, allocations: 29.7 kB / 0.5613 GB, free: 1.086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/0.1575, allocations: 104.1 kB / 0.5614 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.1576, allocations: 35.75 kB / 0.5615 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.1576, allocations: 25.7 kB / 0.5615 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1578, allocations: 326.8 kB / 0.5618 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.869e-05/0.1579, allocations: 31.97 kB / 0.5618 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.147e-05/0.1579, allocations: 31.98 kB / 0.5619 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.1581, allocations: 73.05 kB / 0.5619 GB, free: 460 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1581, allocations: 0 / 0.5619 GB, free: 460 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002472/0.1584, allocations: 113.6 kB / 0.562 GB, free: 340 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1584, allocations: 8 kB / 0.562 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1584, allocations: 0 / 0.562 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1584, allocations: 3.984 kB / 0.562 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1585, allocations: 23.92 kB / 0.5621 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1585, allocations: 0 / 0.5621 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.615e-05/0.1586, allocations: 11.98 kB / 0.5621 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1586, allocations: 4 kB / 0.5621 GB, free: 288 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.0001181/0.1587, allocations: 134.8 kB / 0.5622 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.1587, allocations: 7.953 kB / 0.5622 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003462/0.1591, allocations: 134.9 kB / 0.5623 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.1591, allocations: 11.94 kB / 0.5624 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1591, allocations: 0 / 0.5624 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.1591, allocations: 3.984 kB / 0.5624 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006172/0.1597, allocations: 419.2 kB / 0.5628 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1597, allocations: 0 / 0.5628 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.131e-05/0.1598, allocations: 19.98 kB / 0.5628 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1598, allocations: 0 / 0.5628 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1598, allocations: 11.97 kB / 0.5628 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1598, allocations: 0 / 0.5628 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1598, allocations: 0 / 0.5628 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.1601, allocations: 220.2 kB / 0.563 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.1602, allocations: 89.05 kB / 0.5631 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.1602, allocations: 3.938 kB / 0.5631 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.593e-05/0.1603, allocations: 12 kB / 0.5631 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.1603, allocations: 7.984 kB / 0.5631 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1603, allocations: 7.938 kB / 0.5631 GB, free: 15.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.1605, allocations: 171.2 kB / 0.5633 GB, free: 14.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1605, allocations: 0 / 0.5633 GB, free: 14.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1607, allocations: 31.88 kB / 0.5633 GB, free: 14.9 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.001736/0.1625, allocations: 457.3 kB / 0.5637 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.1627, allocations: 75.88 kB / 0.5638 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/0.1627, allocations: 4 kB / 0.5638 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.1628, allocations: 43.97 kB / 0.5639 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.1632, allocations: 18.09 kB / 0.5639 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006606/0.1639, allocations: 316.5 kB / 0.5642 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.1643, allocations: 0.7119 MB / 0.5649 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.1643, allocations: 19.42 kB / 0.5649 GB, free: 13.39 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1643, allocations: 4 kB / 0.5649 GB, free: 13.39 MB / 430.1 MB Notification: Performance of Templates: time 0.004185/0.1685, allocations: 1.852 MB / 0.5667 GB, free: 11.53 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.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.037128075957298]