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.0009085/0.0009085, allocations: 80.92 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009213/0.0009213, allocations: 173.7 kB / 24.92 MB, free: 8.723 MB / 18.57 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 0.9611/0.9611, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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.1532/0.1532, allocations: 32.8 MB / 294.6 MB, free: 15.44 MB / 282.7 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: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 323.3 MB, free: 2.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.159e-05, allocations: 2.312 kB / 323.3 MB, free: 2.746 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002649/0.002671, allocations: 1.742 MB / 325 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000698/0.003369, allocations: 0.8104 MB / 325.8 MB, free: 184 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.376e-05/0.003403, allocations: 0 / 325.8 MB, free: 184 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.003635, allocations: 27.84 kB / 325.8 MB, free: 156 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.003808, allocations: 39.77 kB / 325.9 MB, free: 116 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.775e-06/0.003811, allocations: 3.938 kB / 325.9 MB, free: 112 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.003939, allocations: 35.89 kB / 325.9 MB, free: 76 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.003975, allocations: 7.938 kB / 325.9 MB, free: 68 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.979e-05/0.004055, allocations: 15.92 kB / 325.9 MB, free: 52 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.492e-05/0.00408, allocations: 11.97 kB / 326 MB, free: 40 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.00409, allocations: 0 / 326 MB, free: 40 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.632e-05/0.004137, allocations: 16 kB / 326 MB, free: 24 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.962e-05/0.004176, allocations: 11.94 kB / 326 MB, free: 12 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.004192, allocations: 11.94 kB / 326 MB, free: 0 / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.004323, allocations: 55.7 kB / 326.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.004326, allocations: 4 kB / 326.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004326, allocations: 0 / 326.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.004331, allocations: 0 / 326.1 MB, free: 15.94 MB / 314.7 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.0002346/0.004565, allocations: 268.7 kB / 326.3 MB, free: 15.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.004601, allocations: 15.97 kB / 326.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.004625, allocations: 4.938 kB / 326.3 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.004741, allocations: 125.7 kB / 326.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.573e-06/0.004748, allocations: 384 / 326.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-06/0.004754, allocations: 4.375 kB / 326.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.00486, allocations: 94.14 kB / 326.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.004867, allocations: 192 / 326.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.004873, allocations: 4.375 kB / 326.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.88e-05/0.004912, allocations: 24.3 kB / 326.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.144e-05/0.004944, allocations: 35.84 kB / 326.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.005308, allocations: 0.7756 MB / 327.4 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.382e-05/0.005361, allocations: 165.1 kB / 327.6 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.366e-05/0.005385, allocations: 92.12 kB / 327.7 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.005403, allocations: 75.28 kB / 327.7 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.005436, allocations: 105.9 kB / 327.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.005436, allocations: 3.938 kB / 327.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 5.574e-05/0.005492, allocations: 29.7 kB / 327.9 MB, free: 14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.005537, allocations: 130.7 kB / 328 MB, free: 13.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.00564, allocations: 177.2 kB / 328.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.283e-06/0.005648, allocations: 25.7 kB / 328.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.005705, allocations: 151.5 kB / 328.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-06/0.005708, allocations: 4 kB / 328.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.005747, allocations: 45.64 kB / 328.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.062e-05/0.005828, allocations: 326.8 kB / 328.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.005839, allocations: 8 kB / 328.7 MB, free: 13.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-05/0.005906, allocations: 136 kB / 328.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.006023, allocations: 175.8 kB / 329 MB, free: 12.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.006026, allocations: 8 kB / 329 MB, free: 12.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001421/0.006168, allocations: 137.8 kB / 329.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.006182, allocations: 8 kB / 329.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.00619, allocations: 8.062 kB / 329.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.006203, allocations: 8 kB / 329.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.671e-05/0.006289, allocations: 39.92 kB / 329.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.006297, allocations: 15.88 kB / 329.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/0.006349, allocations: 19.83 kB / 329.3 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.006359, allocations: 12 kB / 329.3 MB, free: 12.41 MB / 314.7 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 8.046e-05/0.00644, allocations: 199.8 kB / 329.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.006484, allocations: 109 kB / 329.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.006529, allocations: 112.7 kB / 329.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.802e-05/0.006577, allocations: 184.2 kB / 329.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.493e-05/0.006622, allocations: 188.2 kB / 330 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.482e-05/0.006667, allocations: 180.2 kB / 330.2 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.006813, allocations: 329.4 kB / 330.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.037e-05/0.006844, allocations: 108.9 kB / 330.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.667e-05/0.00687, allocations: 101 kB / 330.7 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.758e-05/0.006918, allocations: 180.2 kB / 330.9 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.937e-05/0.006967, allocations: 184.2 kB / 331.1 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-05/0.007013, allocations: 176.3 kB / 331.3 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.991e-05/0.007063, allocations: 184.2 kB / 331.5 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.007173, allocations: 315.7 kB / 331.8 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.007208, allocations: 116.9 kB / 331.9 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.007258, allocations: 176.3 kB / 332 MB, free: 9.477 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.028e-05/0.007309, allocations: 108.9 kB / 332.2 MB, free: 9.363 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.007359, allocations: 184.2 kB / 332.3 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.007388, allocations: 113.2 kB / 332.4 MB, free: 9.059 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.482e-05/0.007423, allocations: 35.02 kB / 332.5 MB, free: 9.023 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007423, allocations: 3.938 kB / 332.5 MB, free: 9.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001599/0.007583, allocations: 16 kB / 332.5 MB, free: 9.004 MB / 314.7 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.0004976/0.00808, allocations: 301.5 kB / 332.8 MB, free: 8.781 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.008182, allocations: 60.64 kB / 332.8 MB, free: 8.719 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/0.008192, allocations: 4 kB / 332.9 MB, free: 8.715 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.008193, allocations: 0 / 332.9 MB, free: 8.715 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.008404, allocations: 459.7 kB / 333.3 MB, free: 8.262 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.008674, allocations: 238.3 kB / 333.5 MB, free: 8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.659e-05/0.008711, allocations: 63.84 kB / 333.6 MB, free: 7.918 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.508e-05/0.008766, allocations: 17.14 kB / 333.6 MB, free: 7.902 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.008806, allocations: 63.31 kB / 333.7 MB, free: 7.84 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.008807, allocations: 4 kB / 333.7 MB, free: 7.836 MB / 314.7 MB Notification: Performance of Templates: time 0.002441/0.01125, allocations: 0.7725 MB / 334.5 MB, free: 7.066 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8925793319940567]