Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.00129/0.00129, allocations: 80.8 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.001458/0.001458, allocations: 168.7 kB / 24.91 MB, free: 9.16 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.9256/0.9256, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2286/0.2286, allocations: 34.26 MB / 296.1 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.477e-05, allocations: 3.156 kB / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002002/0.002017, allocations: 1.689 MB / 327 MB, free: 5.957 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007218/0.002738, allocations: 0.5529 MB / 327.5 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.002785, allocations: 0 / 327.5 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004795/0.003264, allocations: 451.1 kB / 327.9 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.003626, allocations: 299.1 kB / 328.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.003868, allocations: 131.6 kB / 328.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.004045, allocations: 167.6 kB / 328.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.264e-05/0.004118, allocations: 11.98 kB / 328.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.00422, allocations: 115.8 kB / 328.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.004378, allocations: 203.6 kB / 328.9 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.004392, allocations: 4 kB / 328.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.431e-05/0.004456, allocations: 35.92 kB / 328.9 MB, free: 4.008 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.088e-05/0.004537, allocations: 83.7 kB / 329 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.004566, allocations: 40.19 kB / 329 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.00474, allocations: 195.2 kB / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.004742, allocations: 0 / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.8e-07/0.004742, allocations: 0 / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.004746, allocations: 0 / 329.2 MB, free: 3.695 MB / 298.7 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.0005175/0.005263, allocations: 0.5541 MB / 329.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.005293, allocations: 8.031 kB / 329.8 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.005328, allocations: 24.91 kB / 329.8 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.005494, allocations: 234.2 kB / 330 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.005503, allocations: 384 / 330 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.005524, allocations: 12.31 kB / 330 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.017e-05/0.005604, allocations: 58.89 kB / 330.1 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.005611, allocations: 192 / 330.1 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.005618, allocations: 4.125 kB / 330.1 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.005623, allocations: 3.984 kB / 330.1 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.969e-05/0.005643, allocations: 11.98 kB / 330.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.005822, allocations: 168.2 kB / 330.3 MB, free: 2.555 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.005932, allocations: 34.5 kB / 330.3 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.19e-05/0.005944, allocations: 8.859 kB / 330.3 MB, free: 2.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.005957, allocations: 0 / 330.3 MB, free: 2.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.005976, allocations: 38.5 kB / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.005976, allocations: 0 / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002318/0.006208, allocations: 105.7 kB / 330.5 MB, free: 2.344 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.006236, allocations: 55.41 kB / 330.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.006525, allocations: 0.5244 MB / 331 MB, free: 1.738 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.006535, allocations: 29.7 kB / 331.1 MB, free: 1.703 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.006588, allocations: 141.2 kB / 331.2 MB, free: 1.559 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.006606, allocations: 19.86 kB / 331.2 MB, free: 1.539 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.00663, allocations: 17.7 kB / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.934e-05/0.006709, allocations: 354.7 kB / 331.6 MB, free: 1.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.00672, allocations: 4 kB / 331.6 MB, free: 1.156 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-06/0.006729, allocations: 4 kB / 331.6 MB, free: 1.152 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.006756, allocations: 20.83 kB / 331.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.006757, allocations: 3.938 kB / 331.6 MB, free: 1.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.988e-05/0.006817, allocations: 73.59 kB / 331.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.006827, allocations: 4 kB / 331.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.00683, allocations: 4.25 kB / 331.7 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.006842, allocations: 0 / 331.7 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.117e-05/0.006873, allocations: 12 kB / 331.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.006876, allocations: 4 kB / 331.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.269e-05/0.006899, allocations: 3.984 kB / 331.7 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.006903, allocations: 0 / 331.7 MB, free: 1.016 MB / 298.7 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 (5): * Single equations (assignments): 5 * 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.226e-05/0.006965, allocations: 116.7 kB / 331.8 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.006995, allocations: 27.91 kB / 331.9 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.918e-05/0.007084, allocations: 85.17 kB / 331.9 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.007086, allocations: 4 kB / 331.9 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.007087, allocations: 0 / 331.9 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.007089, allocations: 0 / 331.9 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.007286, allocations: 266.7 kB / 332.2 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.007288, allocations: 3.938 kB / 332.2 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.007312, allocations: 11.98 kB / 332.2 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.007313, allocations: 0 / 332.2 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.007317, allocations: 3.938 kB / 332.2 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.007318, allocations: 0 / 332.2 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.007318, allocations: 0 / 332.2 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.309e-05/0.007391, allocations: 163.5 kB / 332.4 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.007414, allocations: 39.72 kB / 332.4 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.007427, allocations: 0 / 332.4 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.528e-05/0.007462, allocations: 7.984 kB / 332.4 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.007482, allocations: 4 kB / 332.4 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.007484, allocations: 0 / 332.4 MB, free: 244 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001721/0.007656, allocations: 287.3 kB / 332.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007657, allocations: 3.844 kB / 332.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001328/0.007789, allocations: 23.92 kB / 332.7 MB, free: 15.93 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 (5): * Single equations (assignments): 5 * 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.0009692/0.008759, allocations: 0.5079 MB / 333.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.492e-05/0.008813, allocations: 16.86 kB / 333.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.008819, allocations: 4 kB / 333.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-05/0.008835, allocations: 20.78 kB / 333.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.008999, allocations: 36.39 kB / 333.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008132/0.009812, allocations: 0.5787 MB / 333.9 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.476e-05/0.009877, allocations: 118.3 kB / 334 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.555e-05/0.009903, allocations: 7.984 kB / 334 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.009949, allocations: 67.38 kB / 334.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.00995, allocations: 0 / 334.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of Templates: time 0.003398/0.01335, allocations: 1.445 MB / 335.5 MB, free: 13.35 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.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.863207379821688]