Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 116 kB / 18.46 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2387/0.2387, allocations: 46.93 MB / 357.8 MB, free: 10.3 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 59.91 kB / 0.4921 GB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1509, allocations: 66 MB / 0.5565 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.004379/0.1553, allocations: 1.664 MB / 0.5582 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.1577, allocations: 1.21 MB / 0.5593 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.1578, allocations: 0 / 0.5593 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.1582, allocations: 31.78 kB / 0.5594 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004281/0.1586, allocations: 87.61 kB / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.1591, allocations: 175 kB / 0.5596 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.1593, allocations: 75.83 kB / 0.5597 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1595, allocations: 19.97 kB / 0.5597 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.729e-05/0.1595, allocations: 31.86 kB / 0.5598 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.1597, allocations: 39.83 kB / 0.5598 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.1597, allocations: 8 kB / 0.5598 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.1599, allocations: 103.9 kB / 0.5599 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.795e-05/0.16, allocations: 19.92 kB / 0.5599 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.958e-05/0.1601, allocations: 31.8 kB / 0.5599 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.1604, allocations: 147.4 kB / 0.5601 GB, free: 1.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1604, allocations: 0 / 0.5601 GB, free: 1.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1604, allocations: 4 kB / 0.5601 GB, free: 1.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1604, allocations: 0 / 0.5601 GB, free: 1.645 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.0007165/0.1611, allocations: 418.7 kB / 0.5605 GB, free: 1.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1612, allocations: 8.031 kB / 0.5605 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.1612, allocations: 8.891 kB / 0.5605 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.1615, allocations: 188.3 kB / 0.5607 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1615, allocations: 8.312 kB / 0.5607 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.1615, allocations: 8.312 kB / 0.5607 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.1618, allocations: 83.48 kB / 0.5608 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1618, allocations: 4 kB / 0.5608 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1618, allocations: 0 / 0.5608 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1618, allocations: 0 / 0.5608 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.1619, allocations: 43.95 kB / 0.5608 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005618/0.1625, allocations: 304.7 kB / 0.5611 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.1627, allocations: 54.55 kB / 0.5612 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.659e-05/0.1627, allocations: 20.94 kB / 0.5612 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.1628, allocations: 4 kB / 0.5612 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.1628, allocations: 30.56 kB / 0.5612 GB, free: 324 kB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1628, allocations: 0 / 0.5612 GB, free: 324 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008929/0.1637, allocations: 237.3 kB / 0.5614 GB, free: 80 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.765e-05/0.1638, allocations: 81.11 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.164, allocations: 151.2 kB / 0.5617 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.164, allocations: 29.7 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.1641, allocations: 96.08 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.1641, allocations: 31.73 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.1642, allocations: 21.7 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1643, allocations: 318.8 kB / 0.5621 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.1645, allocations: 47.89 kB / 0.5622 GB, free: 15.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1646, allocations: 49.69 kB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.1648, allocations: 92.83 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1648, allocations: 0 / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000312/0.1652, allocations: 117.9 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1652, allocations: 8 kB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1652, allocations: 0 / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1652, allocations: 4 kB / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.1653, allocations: 27.91 kB / 0.5625 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1653, allocations: 0 / 0.5625 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.797e-05/0.1654, allocations: 11.92 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.1654, allocations: 4.312 kB / 0.5625 GB, free: 14.94 MB / 430.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 (7): * Single equations (assignments): 7 * 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.0001216/0.1655, allocations: 128 kB / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.888e-05/0.1656, allocations: 7.953 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003888/0.166, allocations: 146.3 kB / 0.5628 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.166, allocations: 0 / 0.5628 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.166, allocations: 3.938 kB / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.166, allocations: 3.938 kB / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006914/0.1667, allocations: 414.4 kB / 0.5632 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1667, allocations: 4 kB / 0.5632 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.18e-05/0.1668, allocations: 23.97 kB / 0.5632 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.1668, allocations: 0 / 0.5632 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.1668, allocations: 7.938 kB / 0.5632 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1668, allocations: 0 / 0.5632 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1668, allocations: 0 / 0.5632 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.1672, allocations: 227.4 kB / 0.5634 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.1673, allocations: 81.06 kB / 0.5635 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.1673, allocations: 3.938 kB / 0.5635 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1674, allocations: 11.98 kB / 0.5635 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.1674, allocations: 7.984 kB / 0.5635 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.1674, allocations: 4 kB / 0.5635 GB, free: 13.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1675, allocations: 113.4 kB / 0.5636 GB, free: 13.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1675, allocations: 0 / 0.5636 GB, free: 13.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003091/0.1679, allocations: 47.88 kB / 0.5637 GB, free: 13.62 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001774/0.1696, allocations: 0.4962 MB / 0.5642 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000346/0.17, allocations: 91.86 kB / 0.5642 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.17, allocations: 0 / 0.5642 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.1701, allocations: 43.97 kB / 0.5643 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.1705, allocations: 23.92 kB / 0.5643 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006158/0.1711, allocations: 243.5 kB / 0.5645 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.1715, allocations: 0.6924 MB / 0.5652 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/0.1716, allocations: 23.42 kB / 0.5652 GB, free: 12.15 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1716, allocations: 0 / 0.5652 GB, free: 12.15 MB / 430.1 MB Notification: Performance of Templates: time 0.004964/0.1766, allocations: 2.187 MB / 0.5674 GB, free: 9.961 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.957131555973319]