Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.0009703/0.0009703, allocations: 80.8 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.001103/0.001103, allocations: 174.8 kB / 24.92 MB, free: 8.266 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.9938/0.9938, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2642/0.2642, allocations: 34.26 MB / 296.1 MB, free: 0.6484 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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.687e-05, allocations: 3.297 kB / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.00275/0.002777, allocations: 1.748 MB / 327 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.004224, allocations: 1.328 MB / 328.4 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.004284, allocations: 0 / 328.4 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.004497, allocations: 19.86 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.004786, allocations: 79.55 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.005144, allocations: 183.4 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.005285, allocations: 83.7 kB / 328.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.964e-05/0.005375, allocations: 12 kB / 328.7 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.298e-05/0.005438, allocations: 35.89 kB / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.005539, allocations: 39.89 kB / 328.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.005556, allocations: 4 kB / 328.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.005727, allocations: 91.88 kB / 328.9 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.005781, allocations: 23.92 kB / 328.9 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.005809, allocations: 16.44 kB / 329 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.006023, allocations: 151.4 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.006028, allocations: 0 / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.006029, allocations: 0 / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.006034, allocations: 4 kB / 329.1 MB, free: 3.781 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.0003625/0.006396, allocations: 309.6 kB / 329.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.006429, allocations: 8.031 kB / 329.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.006461, allocations: 8.938 kB / 329.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.006631, allocations: 133.7 kB / 329.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.006641, allocations: 4.375 kB / 329.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.006661, allocations: 8.375 kB / 329.6 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.006797, allocations: 102.3 kB / 329.7 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.006807, allocations: 4.125 kB / 329.7 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.006815, allocations: 8.125 kB / 329.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.00682, allocations: 0 / 329.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.344e-05/0.006844, allocations: 11.92 kB / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/0.007067, allocations: 171.2 kB / 329.9 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.17e-05/0.007119, allocations: 30.56 kB / 329.9 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.794e-05/0.007137, allocations: 12.84 kB / 329.9 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.007153, allocations: 4 kB / 329.9 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.007175, allocations: 42.44 kB / 329.9 MB, free: 2.836 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.007176, allocations: 0 / 329.9 MB, free: 2.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003197/0.007496, allocations: 109.6 kB / 330.1 MB, free: 2.723 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.007532, allocations: 81.11 kB / 330.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.26e-05/0.007625, allocations: 144.5 kB / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.007636, allocations: 25.7 kB / 330.3 MB, free: 2.441 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.007666, allocations: 92.09 kB / 330.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.00769, allocations: 27.77 kB / 330.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.00772, allocations: 21.72 kB / 330.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.007793, allocations: 326.8 kB / 330.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.007808, allocations: 4 kB / 330.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.29e-05/0.007841, allocations: 51.39 kB / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.896e-05/0.00788, allocations: 27.67 kB / 330.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.007881, allocations: 0 / 330.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.611e-05/0.007947, allocations: 61.78 kB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.007959, allocations: 4 kB / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.007964, allocations: 0 / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.007976, allocations: 3.984 kB / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.671e-05/0.008043, allocations: 20 kB / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.008047, allocations: 8.031 kB / 330.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.634e-05/0.008073, allocations: 7.984 kB / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-06/0.008078, allocations: 0 / 330.9 MB, free: 1.758 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 (7): * Single equations (assignments): 7 * 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 5.58e-05/0.008134, allocations: 116.7 kB / 331.1 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.008157, allocations: 15.92 kB / 331.1 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.008266, allocations: 62.39 kB / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.008268, allocations: 0 / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.00827, allocations: 4 kB / 331.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.008272, allocations: 0 / 331.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.008502, allocations: 238.6 kB / 331.4 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.008504, allocations: 0 / 331.4 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.796e-05/0.008552, allocations: 15.98 kB / 331.4 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.008554, allocations: 0 / 331.4 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.008559, allocations: 4 kB / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.008561, allocations: 0 / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.008562, allocations: 0 / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.997e-05/0.008652, allocations: 151.5 kB / 331.5 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.008663, allocations: 11.94 kB / 331.5 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.008674, allocations: 0 / 331.5 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.846e-05/0.008713, allocations: 7.984 kB / 331.6 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.008742, allocations: 15.98 kB / 331.6 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.008745, allocations: 3.938 kB / 331.6 MB, free: 1.062 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.706e-05/0.008772, allocations: 28.44 kB / 331.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008773, allocations: 0 / 331.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.008946, allocations: 43.86 kB / 331.6 MB, free: 0.9922 MB / 298.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 (7): * Single equations (assignments): 7 * 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.001354/0.0103, allocations: 0.6353 MB / 332.3 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.776e-05/0.0104, allocations: 28.83 kB / 332.3 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.0104, allocations: 4 kB / 332.3 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.195e-05/0.01043, allocations: 16.8 kB / 332.3 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.0106, allocations: 38.69 kB / 332.4 MB, free: 0.582 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.01091, allocations: 194.6 kB / 332.6 MB, free: 376 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.662e-05/0.01095, allocations: 63.34 kB / 332.6 MB, free: 292 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.843e-05/0.01101, allocations: 17.02 kB / 332.6 MB, free: 272 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.01107, allocations: 71.36 kB / 332.7 MB, free: 200 kB / 298.7 MB Notification: Performance of SimCode: time 1.152e-06/0.01107, allocations: 0 / 332.7 MB, free: 200 kB / 298.7 MB Notification: Performance of Templates: time 0.00371/0.01478, allocations: 2.151 MB / 334.9 MB, free: 14.06 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.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.8508694418706]