Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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.00133/0.00133, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001451/0.001451, allocations: 209.8 kB / 24.49 MB, free: 4.137 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.53/1.53, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2323/0.2323, allocations: 44.9 MB / 359.6 MB, free: 6.277 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 63.91 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3562, allocations: 65.46 MB / 0.5583 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.003474/0.3597, allocations: 1.713 MB / 0.5599 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.3609, allocations: 0.562 MB / 0.5605 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.831e-05/0.3609, allocations: 4 kB / 0.5605 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.3612, allocations: 59.78 kB / 0.5605 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.3616, allocations: 95.61 kB / 0.5606 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.362, allocations: 135.6 kB / 0.5608 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.3622, allocations: 75.77 kB / 0.5608 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.3623, allocations: 28.2 kB / 0.5609 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.218e-05/0.3624, allocations: 31.86 kB / 0.5609 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.3625, allocations: 55.81 kB / 0.5609 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.3625, allocations: 7.938 kB / 0.561 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.3627, allocations: 47.98 kB / 0.561 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.277e-05/0.3627, allocations: 27.91 kB / 0.561 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.3628, allocations: 31.73 kB / 0.5611 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.363, allocations: 110 kB / 0.5612 GB, free: 4.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.363, allocations: 3.938 kB / 0.5612 GB, free: 4.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.363, allocations: 0 / 0.5612 GB, free: 4.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.363, allocations: 0 / 0.5612 GB, free: 4.711 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005795/0.3636, allocations: 349.6 kB / 0.5615 GB, free: 4.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3636, allocations: 8.031 kB / 0.5615 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.3637, allocations: 8.891 kB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.3639, allocations: 136 kB / 0.5616 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3639, allocations: 8.375 kB / 0.5617 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.3639, allocations: 4.328 kB / 0.5617 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.3641, allocations: 73.72 kB / 0.5617 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3641, allocations: 0 / 0.5617 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.3641, allocations: 4 kB / 0.5617 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3642, allocations: 4 kB / 0.5617 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.3643, allocations: 39.91 kB / 0.5618 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.3648, allocations: 275.9 kB / 0.562 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.3651, allocations: 62.47 kB / 0.5621 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.176e-05/0.3652, allocations: 28.97 kB / 0.5621 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.3652, allocations: 0 / 0.5621 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.3652, allocations: 30.56 kB / 0.5622 GB, free: 3.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.3652, allocations: 0 / 0.5622 GB, free: 3.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001548/0.3668, allocations: 405.3 kB / 0.5625 GB, free: 3.176 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.3668, allocations: 59.34 kB / 0.5626 GB, free: 3.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.367, allocations: 190.1 kB / 0.5628 GB, free: 2.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.367, allocations: 25.7 kB / 0.5628 GB, free: 2.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.808e-05/0.3671, allocations: 100.1 kB / 0.5629 GB, free: 2.773 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.3672, allocations: 39.69 kB / 0.5629 GB, free: 2.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.3672, allocations: 25.7 kB / 0.563 GB, free: 2.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3674, allocations: 322.8 kB / 0.5633 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.3675, allocations: 47.97 kB / 0.5633 GB, free: 2.332 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.3677, allocations: 39.97 kB / 0.5634 GB, free: 2.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.3679, allocations: 96.81 kB / 0.5634 GB, free: 2.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3679, allocations: 0 / 0.5634 GB, free: 2.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003308/0.3683, allocations: 153.4 kB / 0.5636 GB, free: 2.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3683, allocations: 4 kB / 0.5636 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.3683, allocations: 0 / 0.5636 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3683, allocations: 4 kB / 0.5636 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.3684, allocations: 27.92 kB / 0.5636 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3684, allocations: 0 / 0.5636 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.429e-05/0.3685, allocations: 11.98 kB / 0.5636 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3685, allocations: 8 kB / 0.5636 GB, free: 1.984 MB / 398.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 (11): * Single equations (assignments): 11 * 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.0001189/0.3686, allocations: 125.8 kB / 0.5638 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.3687, allocations: 15.91 kB / 0.5638 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003913/0.3691, allocations: 162.6 kB / 0.5639 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3691, allocations: 3.938 kB / 0.5639 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3691, allocations: 0 / 0.5639 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3691, allocations: 4 kB / 0.5639 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006996/0.3698, allocations: 443.1 kB / 0.5644 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3698, allocations: 3.984 kB / 0.5644 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.3699, allocations: 24.08 kB / 0.5644 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.3699, allocations: 12 kB / 0.5644 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.3699, allocations: 192 / 0.5644 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.3699, allocations: 8 kB / 0.5644 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3699, allocations: 0 / 0.5644 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.3703, allocations: 265 kB / 0.5647 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.3703, allocations: 7.953 kB / 0.5647 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.3703, allocations: 4 kB / 0.5647 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.57e-05/0.3704, allocations: 11.98 kB / 0.5647 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.3705, allocations: 7.984 kB / 0.5647 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.3705, allocations: 4 kB / 0.5647 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.3706, allocations: 144.1 kB / 0.5648 GB, free: 0.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3706, allocations: 0 / 0.5648 GB, free: 0.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000268/0.3709, allocations: 31.94 kB / 0.5649 GB, free: 0.6367 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001746/0.3726, allocations: 462.9 kB / 0.5653 GB, free: 376 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003329/0.373, allocations: 119.7 kB / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.373, allocations: 0 / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.3731, allocations: 51.91 kB / 0.5655 GB, free: 204 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.3735, allocations: 23.92 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000683/0.3742, allocations: 302.3 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.3746, allocations: 0.708 MB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.3746, allocations: 19.38 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3746, allocations: 0 / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of Templates: time 0.004456/0.3791, allocations: 1.935 MB / 0.5684 GB, free: 13.15 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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.742904290091246]