Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001841/0.001841, 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.001679/0.001679, allocations: 209.8 kB / 24.5 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2185/0.2185, allocations: 44.91 MB / 359.6 MB, free: 6.316 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") [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.002306/0.002306, allocations: 63.91 kB / 0.4943 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3417, allocations: 65.46 MB / 0.5582 GB, free: 7.723 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003336/0.345, allocations: 1.675 MB / 0.5599 GB, free: 6.059 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.3461, allocations: 0.7711 MB / 0.5606 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.3461, allocations: 0 / 0.5606 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.3464, allocations: 31.84 kB / 0.5607 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.3466, allocations: 40.8 kB / 0.5607 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.338e-06/0.3466, allocations: 0 / 0.5607 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.3467, allocations: 31.91 kB / 0.5607 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.3468, allocations: 4 kB / 0.5607 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.082e-05/0.3468, allocations: 15.86 kB / 0.5608 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.059e-05/0.3469, allocations: 19.92 kB / 0.5608 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.3469, allocations: 0 / 0.5608 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.179e-05/0.3469, allocations: 12 kB / 0.5608 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.347, allocations: 19.91 kB / 0.5608 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.347, allocations: 19.81 kB / 0.5608 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.3472, allocations: 74 kB / 0.5609 GB, free: 5.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3472, allocations: 0 / 0.5609 GB, free: 5.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3472, allocations: 0 / 0.5609 GB, free: 5.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3472, allocations: 0 / 0.5609 GB, free: 5.027 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.0003952/0.3476, allocations: 294 kB / 0.5612 GB, free: 4.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.3476, allocations: 12.03 kB / 0.5612 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.3476, allocations: 8.891 kB / 0.5612 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3478, allocations: 114.5 kB / 0.5613 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3478, allocations: 4.375 kB / 0.5613 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.3478, allocations: 8.312 kB / 0.5613 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.348, allocations: 121.4 kB / 0.5614 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.348, allocations: 4.188 kB / 0.5614 GB, free: 4.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.348, allocations: 7.938 kB / 0.5614 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.742e-05/0.3481, allocations: 27.92 kB / 0.5615 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.567e-05/0.3481, allocations: 43.91 kB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006877/0.3488, allocations: 0.8663 MB / 0.5624 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.888e-05/0.3489, allocations: 165.1 kB / 0.5625 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.349, allocations: 80.14 kB / 0.5626 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.349, allocations: 83.22 kB / 0.5627 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.226e-05/0.3491, allocations: 109.8 kB / 0.5628 GB, free: 2.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.3491, allocations: 0 / 0.5628 GB, free: 2.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.252e-05/0.3492, allocations: 45.62 kB / 0.5628 GB, free: 2.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.3492, allocations: 130.7 kB / 0.5629 GB, free: 2.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.3494, allocations: 182.1 kB / 0.5631 GB, free: 2.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.3494, allocations: 25.7 kB / 0.5631 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.3496, allocations: 151.5 kB / 0.5633 GB, free: 2.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.535e-06/0.3496, allocations: 7.984 kB / 0.5633 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/0.3496, allocations: 37.67 kB / 0.5633 GB, free: 2.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002945/0.3499, allocations: 322.8 kB / 0.5636 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.928e-05/0.35, allocations: 27.98 kB / 0.5637 GB, free: 1.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.3502, allocations: 165.1 kB / 0.5638 GB, free: 1.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.3505, allocations: 208.8 kB / 0.564 GB, free: 1.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3505, allocations: 0 / 0.564 GB, free: 1.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003266/0.3508, allocations: 201.5 kB / 0.5642 GB, free: 1.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3508, allocations: 8 kB / 0.5642 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3508, allocations: 4 kB / 0.5642 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3508, allocations: 8 kB / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.351, allocations: 39.92 kB / 0.5643 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.351, allocations: 7.984 kB / 0.5643 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.399e-05/0.3511, allocations: 23.83 kB / 0.5643 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.3511, allocations: 12 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.0002223/0.3513, allocations: 213.3 kB / 0.5645 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3514, allocations: 116.8 kB / 0.5646 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.849e-05/0.3515, allocations: 116.6 kB / 0.5647 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.728e-05/0.3515, allocations: 184.2 kB / 0.5649 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001481/0.3517, allocations: 180.3 kB / 0.5651 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.995e-05/0.3518, allocations: 184.3 kB / 0.5653 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.3522, allocations: 396.2 kB / 0.5656 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.287e-05/0.3523, allocations: 108.9 kB / 0.5657 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.26e-05/0.3523, allocations: 104.9 kB / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001373/0.3525, allocations: 184.2 kB / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.755e-05/0.3526, allocations: 180.3 kB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.445e-05/0.3526, allocations: 188.2 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.239e-05/0.3527, allocations: 180.2 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.353, allocations: 315.7 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.353, allocations: 108.9 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.3532, allocations: 192.2 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.977e-05/0.3533, allocations: 105 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.929e-05/0.3534, allocations: 184.2 kB / 0.5674 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.3535, allocations: 101 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.3536, allocations: 136.1 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3536, allocations: 0 / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003382/0.354, 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.000654/0.3546, allocations: 277.1 kB / 0.5679 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.3548, allocations: 67.78 kB / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3548, allocations: 1.25 kB / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.3548, allocations: 4 kB / 0.568 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.3552, allocations: 471.6 kB / 0.5684 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.3556, allocations: 274.9 kB / 0.5687 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.356, allocations: 0.6967 MB / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.66e-05/0.3561, allocations: 15.44 kB / 0.5694 GB, free: 11.75 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3561, allocations: 0 / 0.5694 GB, free: 11.75 MB / 414.1 MB Notification: Performance of Templates: time 0.003486/0.3596, allocations: 1.31 MB / 0.5707 GB, free: 10.44 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.743224166100845]