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.0009319/0.0009319, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009787/0.0009787, allocations: 170.1 kB / 24.91 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.9061/0.9061, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.136/0.136, allocations: 32.81 MB / 294.6 MB, free: 15.45 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 2.224e-06/2.224e-06, allocations: 4 kB / 323.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.353e-05, allocations: 6.25 kB / 323.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.001943/0.001957, allocations: 1.695 MB / 324.9 MB, free: 1.086 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005748/0.002532, allocations: 0.8026 MB / 325.7 MB, free: 288 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.002558, allocations: 0 / 325.7 MB, free: 288 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.002724, allocations: 27.84 kB / 325.8 MB, free: 260 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.002869, allocations: 47.77 kB / 325.8 MB, free: 212 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.605e-06/0.002871, allocations: 0 / 325.8 MB, free: 212 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.501e-05/0.002966, allocations: 35.83 kB / 325.8 MB, free: 176 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.924e-05/0.002996, allocations: 11.92 kB / 325.9 MB, free: 164 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.063e-05/0.003056, allocations: 19.97 kB / 325.9 MB, free: 144 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.899e-05/0.003075, allocations: 15.86 kB / 325.9 MB, free: 128 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.443e-06/0.003082, allocations: 0 / 325.9 MB, free: 128 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.99e-05/0.003112, allocations: 8 kB / 325.9 MB, free: 120 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.038e-05/0.003142, allocations: 19.92 kB / 325.9 MB, free: 100 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.156e-05/0.003154, allocations: 4 kB / 325.9 MB, free: 96 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.647e-05/0.00325, allocations: 55.78 kB / 326 MB, free: 40 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462e-06/0.003251, allocations: 0 / 326 MB, free: 40 kB / 298.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003252, allocations: 0 / 326 MB, free: 40 kB / 298.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.003256, allocations: 3.984 kB / 326 MB, free: 36 kB / 298.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.000253/0.003509, allocations: 268.7 kB / 326.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.003539, allocations: 11.98 kB / 326.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.003564, allocations: 4.938 kB / 326.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.003674, allocations: 125.7 kB / 326.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.003682, allocations: 384 / 326.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.003693, allocations: 8.359 kB / 326.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.003793, allocations: 90.16 kB / 326.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.0038, allocations: 4.188 kB / 326.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.003807, allocations: 4.359 kB / 326.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.72e-05/0.003844, allocations: 28.3 kB / 326.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.849e-05/0.003872, allocations: 31.8 kB / 326.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.004235, allocations: 0.7757 MB / 327.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.012e-05/0.004295, allocations: 169.2 kB / 327.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.994e-05/0.004315, allocations: 80.14 kB / 327.6 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.004334, allocations: 79.28 kB / 327.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.004365, allocations: 105.8 kB / 327.7 MB, free: 14.13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.004365, allocations: 4 kB / 327.7 MB, free: 14.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 4.104e-05/0.004406, allocations: 33.64 kB / 327.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.00445, allocations: 126.7 kB / 327.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.926e-05/0.004549, allocations: 181.2 kB / 328.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.004557, allocations: 25.7 kB / 328.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.00461, allocations: 147.5 kB / 328.2 MB, free: 13.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-06/0.004613, allocations: 4 kB / 328.3 MB, free: 13.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.004648, allocations: 41.64 kB / 328.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.146e-05/0.00472, allocations: 322.8 kB / 328.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.00473, allocations: 8 kB / 328.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-05/0.004798, allocations: 136 kB / 328.7 MB, free: 13.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.004907, allocations: 183.7 kB / 328.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.00491, allocations: 4 kB / 328.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000132/0.005042, allocations: 141.2 kB / 329.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.005052, allocations: 8 kB / 329.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.005058, allocations: 8 kB / 329.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.005071, allocations: 4.625 kB / 329.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.435e-05/0.005145, allocations: 39.92 kB / 329.1 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.005152, allocations: 15.88 kB / 329.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.805e-05/0.0052, allocations: 23.83 kB / 329.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.005209, allocations: 8 kB / 329.2 MB, free: 12.52 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 6.925e-05/0.005278, allocations: 203.8 kB / 329.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.005316, allocations: 109 kB / 329.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/0.00535, allocations: 112.8 kB / 329.6 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.069e-05/0.005391, allocations: 184.2 kB / 329.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.902e-05/0.00543, allocations: 180.2 kB / 329.9 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-05/0.005474, allocations: 188.1 kB / 330.1 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.005599, allocations: 333.4 kB / 330.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.321e-05/0.005623, allocations: 101 kB / 330.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.338e-05/0.005646, allocations: 108.9 kB / 330.7 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-05/0.005682, allocations: 180.3 kB / 330.8 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.005724, allocations: 184.2 kB / 331 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.861e-05/0.005762, allocations: 180.3 kB / 331.2 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.902e-05/0.005801, allocations: 176.3 kB / 331.4 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.756e-05/0.005889, allocations: 319.7 kB / 331.7 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.005923, allocations: 116.8 kB / 331.8 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.005967, allocations: 180.2 kB / 332 MB, free: 9.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.647e-05/0.006014, allocations: 105 kB / 332.1 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.006057, allocations: 188.2 kB / 332.3 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.006081, allocations: 101.3 kB / 332.4 MB, free: 9.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.997e-05/0.006111, allocations: 35.02 kB / 332.4 MB, free: 9.125 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006111, allocations: 4 kB / 332.4 MB, free: 9.121 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001481/0.006259, allocations: 8 kB / 332.4 MB, free: 9.113 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.0004658/0.006725, allocations: 295.4 kB / 332.7 MB, free: 8.891 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.474e-05/0.006809, allocations: 65.45 kB / 332.8 MB, free: 8.824 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.006817, allocations: 4 kB / 332.8 MB, free: 8.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.006818, allocations: 7.938 kB / 332.8 MB, free: 8.812 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.007012, allocations: 463.7 kB / 333.2 MB, free: 8.355 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002348/0.007247, allocations: 233 kB / 333.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.597e-05/0.007283, allocations: 63.84 kB / 333.5 MB, free: 8.016 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.513e-05/0.007328, allocations: 13.58 kB / 333.5 MB, free: 8.004 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.007368, allocations: 63.36 kB / 333.6 MB, free: 7.941 MB / 314.7 MB Notification: Performance of SimCode: time 4.6e-07/0.007368, allocations: 0 / 333.6 MB, free: 7.941 MB / 314.7 MB Notification: Performance of Templates: time 0.002/0.009369, allocations: 0.7801 MB / 334.4 MB, free: 7.168 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 -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.9086603382602334]