Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001734/0.001734, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002187/0.002187, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.482/1.482, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2227/0.2227, allocations: 44.91 MB / 359.6 MB, free: 6.297 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") [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.002291/0.002291, allocations: 75.88 kB / 0.4943 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3621, allocations: 65.46 MB / 0.5582 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003435/0.3655, allocations: 1.677 MB / 0.5599 GB, free: 6.059 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.3666, allocations: 0.7672 MB / 0.5606 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.3667, allocations: 0 / 0.5606 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.3669, allocations: 31.89 kB / 0.5607 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.3671, allocations: 40.81 kB / 0.5607 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.049e-06/0.3671, allocations: 0 / 0.5607 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.3673, allocations: 43.83 kB / 0.5607 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.3673, allocations: 0 / 0.5607 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.683e-05/0.3674, allocations: 11.92 kB / 0.5608 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.553e-05/0.3674, allocations: 15.92 kB / 0.5608 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.3675, allocations: 4 kB / 0.5608 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.936e-05/0.3675, allocations: 4 kB / 0.5608 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.276e-05/0.3676, allocations: 23.91 kB / 0.5608 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.3676, allocations: 19.81 kB / 0.5608 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.3678, allocations: 78 kB / 0.5609 GB, free: 5.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3678, allocations: 0 / 0.5609 GB, free: 5.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3678, allocations: 4 kB / 0.5609 GB, free: 5.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3678, allocations: 0 / 0.5609 GB, free: 5.023 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004041/0.3682, allocations: 290 kB / 0.5612 GB, free: 4.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3682, allocations: 12.03 kB / 0.5612 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.3683, allocations: 4.891 kB / 0.5612 GB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.3684, allocations: 118.5 kB / 0.5613 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.3684, allocations: 4.375 kB / 0.5613 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.3684, allocations: 4.375 kB / 0.5613 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.3686, allocations: 123.3 kB / 0.5614 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3687, allocations: 192 / 0.5614 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.3687, allocations: 7.938 kB / 0.5614 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.372e-05/0.3687, allocations: 23.92 kB / 0.5615 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.887e-05/0.3688, allocations: 47.89 kB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007503/0.3695, allocations: 0.8663 MB / 0.5624 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.3697, allocations: 173.1 kB / 0.5625 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.3697, allocations: 80.14 kB / 0.5626 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.393e-05/0.3697, allocations: 79.22 kB / 0.5627 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.907e-05/0.3698, allocations: 109.9 kB / 0.5628 GB, free: 2.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3698, allocations: 0 / 0.5628 GB, free: 2.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 9.133e-05/0.3699, allocations: 41.59 kB / 0.5628 GB, free: 2.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.21e-05/0.37, allocations: 130.7 kB / 0.5629 GB, free: 2.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.3702, allocations: 190 kB / 0.5631 GB, free: 2.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.3702, allocations: 25.7 kB / 0.5631 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.3703, allocations: 147.5 kB / 0.5633 GB, free: 2.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.804e-06/0.3703, allocations: 7.984 kB / 0.5633 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/0.3704, allocations: 37.67 kB / 0.5633 GB, free: 2.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3705, allocations: 322.8 kB / 0.5636 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.424e-05/0.3706, allocations: 31.98 kB / 0.5637 GB, free: 1.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.3707, allocations: 165.1 kB / 0.5638 GB, free: 1.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.371, allocations: 200.9 kB / 0.564 GB, free: 1.484 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.371, allocations: 4 kB / 0.564 GB, free: 1.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003338/0.3713, allocations: 205 kB / 0.5642 GB, free: 1.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3713, allocations: 8 kB / 0.5642 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.3713, allocations: 4 kB / 0.5642 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.3714, allocations: 4 kB / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.3715, allocations: 40.55 kB / 0.5643 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.3715, allocations: 15.98 kB / 0.5643 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.554e-05/0.3716, allocations: 19.83 kB / 0.5643 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.3716, allocations: 8 kB / 0.5643 GB, free: 1.176 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001481/0.3718, allocations: 217 kB / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.988e-05/0.3718, allocations: 116.8 kB / 0.5646 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.949e-05/0.3719, allocations: 112.6 kB / 0.5647 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.009e-05/0.372, allocations: 188.2 kB / 0.5649 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.869e-05/0.3721, allocations: 184.3 kB / 0.5651 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001003/0.3722, allocations: 180.3 kB / 0.5653 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.3725, allocations: 396.2 kB / 0.5656 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.614e-05/0.3725, allocations: 104.9 kB / 0.5657 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.537e-05/0.3726, allocations: 104.9 kB / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.802e-05/0.3727, allocations: 188.3 kB / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.538e-05/0.3727, allocations: 176.3 kB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.922e-05/0.3728, allocations: 188.2 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.394e-05/0.3729, allocations: 180.2 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.3731, allocations: 315.7 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-05/0.3732, allocations: 116.9 kB / 0.567 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.893e-05/0.3733, allocations: 184.2 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.3734, allocations: 101 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.059e-05/0.3735, allocations: 184.2 kB / 0.5674 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/0.3735, allocations: 101 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.3736, allocations: 136.1 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3736, allocations: 0 / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.3739, allocations: 12 kB / 0.5676 GB, free: 13.56 MB / 414.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 (0): * Single equations (assignments): 0 * 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.0006897/0.3746, allocations: 279.4 kB / 0.5679 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.3748, allocations: 76.91 kB / 0.568 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3748, allocations: 0 / 0.568 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.218e-06/0.3748, allocations: 4 kB / 0.568 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.3752, allocations: 467.6 kB / 0.5684 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.3756, allocations: 274.9 kB / 0.5687 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.376, allocations: 0.7046 MB / 0.5694 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-05/0.3761, allocations: 15.44 kB / 0.5694 GB, free: 11.74 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3761, allocations: 0 / 0.5694 GB, free: 11.74 MB / 414.1 MB Notification: Performance of Templates: time 0.003468/0.3795, allocations: 1.296 MB / 0.5707 GB, free: 10.45 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.6964006091002375]