Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001329/0.001329, 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.001446/0.001446, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.57/1.57, allocations: 230.6 MB / 258.3 MB, free: 8.227 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.2344/0.2344, allocations: 44.92 MB / 359.6 MB, free: 6.332 MB / 286.1 MB " [Timeout remaining time 180] 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [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.003215/0.003215, allocations: 67.89 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3634, allocations: 65.47 MB / 0.5583 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003313/0.3667, allocations: 1.673 MB / 0.5599 GB, free: 6.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.3687, allocations: 1.279 MB / 0.5611 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.3687, allocations: 0 / 0.5611 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.3689, allocations: 19.86 kB / 0.5612 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.3692, allocations: 83.61 kB / 0.5612 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.3696, allocations: 139.5 kB / 0.5614 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.3697, allocations: 67.83 kB / 0.5614 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3698, allocations: 15.94 kB / 0.5615 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.984e-05/0.3699, allocations: 35.84 kB / 0.5615 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.3701, allocations: 38.66 kB / 0.5615 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.3701, allocations: 4 kB / 0.5615 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.3703, allocations: 103.9 kB / 0.5616 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.535e-05/0.3703, allocations: 19.92 kB / 0.5617 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.3704, allocations: 31.8 kB / 0.5617 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.3706, allocations: 141.9 kB / 0.5618 GB, free: 4.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3706, allocations: 0 / 0.5618 GB, free: 4.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3706, allocations: 4 kB / 0.5618 GB, free: 4.082 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.3706, allocations: 3.938 kB / 0.5618 GB, free: 4.078 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005395/0.3712, allocations: 337.6 kB / 0.5621 GB, free: 3.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3712, allocations: 12.03 kB / 0.5622 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.3713, allocations: 8.891 kB / 0.5622 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.3715, allocations: 138.4 kB / 0.5623 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.3715, allocations: 384 / 0.5623 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.3715, allocations: 4.375 kB / 0.5623 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.3717, allocations: 83.48 kB / 0.5624 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3717, allocations: 0 / 0.5624 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3717, allocations: 11.94 kB / 0.5624 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.3717, allocations: 0 / 0.5624 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.3719, allocations: 31.97 kB / 0.5624 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.3723, allocations: 271.8 kB / 0.5627 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.3724, allocations: 42.56 kB / 0.5627 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.935e-05/0.3725, allocations: 20.88 kB / 0.5627 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.3725, allocations: 0 / 0.5627 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.3725, allocations: 38.56 kB / 0.5628 GB, free: 2.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3725, allocations: 0 / 0.5628 GB, free: 2.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007871/0.3733, allocations: 209.3 kB / 0.563 GB, free: 2.758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/0.3734, allocations: 81.11 kB / 0.5631 GB, free: 2.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.3736, allocations: 145.7 kB / 0.5632 GB, free: 2.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.3736, allocations: 37.7 kB / 0.5632 GB, free: 2.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.3737, allocations: 92.12 kB / 0.5633 GB, free: 2.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.3737, allocations: 23.75 kB / 0.5633 GB, free: 2.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.3737, allocations: 21.8 kB / 0.5634 GB, free: 2.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3739, allocations: 318.8 kB / 0.5637 GB, free: 2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.374, allocations: 35.95 kB / 0.5637 GB, free: 1.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.3741, allocations: 49.69 kB / 0.5638 GB, free: 1.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.3743, allocations: 76.8 kB / 0.5638 GB, free: 1.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3743, allocations: 0 / 0.5638 GB, free: 1.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002859/0.3746, allocations: 109.5 kB / 0.5639 GB, free: 1.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3746, allocations: 12.03 kB / 0.5639 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3746, allocations: 0 / 0.5639 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3747, allocations: 0 / 0.5639 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3748, allocations: 19.98 kB / 0.564 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.3748, allocations: 0 / 0.564 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.3749, allocations: 15.92 kB / 0.564 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3749, allocations: 4 kB / 0.564 GB, free: 1.668 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 (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.000107/0.375, allocations: 113.8 kB / 0.5641 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.375, allocations: 11.95 kB / 0.5641 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003347/0.3753, allocations: 130.6 kB / 0.5642 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.3754, allocations: 8 kB / 0.5642 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3754, allocations: 0 / 0.5642 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3754, allocations: 7.875 kB / 0.5642 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.3759, allocations: 365.6 kB / 0.5646 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3759, allocations: 0 / 0.5646 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.854e-05/0.376, allocations: 19.98 kB / 0.5646 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.376, allocations: 0 / 0.5646 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.376, allocations: 3.938 kB / 0.5646 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.376, allocations: 4 kB / 0.5646 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.376, allocations: 0 / 0.5646 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003336/0.3764, allocations: 211.4 kB / 0.5648 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.3764, allocations: 15.89 kB / 0.5648 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.3764, allocations: 3.938 kB / 0.5648 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.497e-05/0.3765, allocations: 11.98 kB / 0.5648 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.3765, allocations: 3.938 kB / 0.5648 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.3765, allocations: 11.98 kB / 0.5649 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.3767, allocations: 113.8 kB / 0.565 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3767, allocations: 0 / 0.565 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.377, allocations: 43.86 kB / 0.565 GB, free: 0.5234 MB / 398.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.001753/0.3787, allocations: 0.4901 MB / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.379, allocations: 75.92 kB / 0.5656 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.379, allocations: 0 / 0.5656 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.3791, allocations: 44.06 kB / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.3795, allocations: 18.28 kB / 0.5656 GB, free: 88 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005852/0.3801, allocations: 235.6 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.3804, allocations: 0.6924 MB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.588e-05/0.3805, allocations: 23.44 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3805, allocations: 0 / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of Templates: time 0.004458/0.385, allocations: 2.09 MB / 0.5686 GB, free: 12.99 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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: 8.084589510923252]