Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.0009164/0.0009164, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001309/0.002226, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007418/0.0007418, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001146/0.001888, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.056/1.056, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08685/1.143, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.242/0.242, allocations: 34.26 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02375/0.2658, allocations: 13.1 MB / 291.5 MB, free: 7.328 MB / 282.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 292.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.409e-05, allocations: 3.188 kB / 292.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.00191/0.001924, allocations: 1.758 MB / 294.6 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006908/0.002614, allocations: 0.5801 MB / 295.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.002664, allocations: 3.938 kB / 295.2 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003946/0.003059, allocations: 0.4989 MB / 295.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.003326, allocations: 307.2 kB / 296 MB, free: 3 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.003637, allocations: 181 kB / 296.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.003833, allocations: 179.6 kB / 296.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.497e-05/0.003918, allocations: 20.16 kB / 296.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.004061, allocations: 163.7 kB / 296.5 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.004215, allocations: 195.6 kB / 296.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.004231, allocations: 4 kB / 296.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.387e-05/0.004315, allocations: 47.92 kB / 296.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.503e-05/0.00439, allocations: 83.72 kB / 296.9 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.004427, allocations: 39.75 kB / 296.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.004631, allocations: 207.1 kB / 297.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.212e-05/0.004643, allocations: 0 / 297.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.004643, allocations: 0 / 297.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.004656, allocations: 0 / 297.1 MB, free: 1.898 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005398/0.005196, allocations: 0.6043 MB / 297.7 MB, free: 1.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.005227, allocations: 12.03 kB / 297.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.005267, allocations: 24.91 kB / 297.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.005454, allocations: 250 kB / 298 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.005463, allocations: 4.375 kB / 298 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.005484, allocations: 384 / 298 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.523e-05/0.00558, allocations: 70.88 kB / 298.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.005589, allocations: 192 / 298.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.005597, allocations: 4.125 kB / 298.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.005603, allocations: 0 / 298.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.212e-05/0.005625, allocations: 11.94 kB / 298.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.005891, allocations: 219 kB / 298.3 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.075e-05/0.005942, allocations: 29.44 kB / 298.3 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.565e-05/0.005958, allocations: 12.94 kB / 298.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.005973, allocations: 3.938 kB / 298.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.005993, allocations: 34.56 kB / 298.4 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.005993, allocations: 4 kB / 298.4 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004345/0.006428, allocations: 161.8 kB / 298.5 MB, free: 372 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.006455, allocations: 59.39 kB / 298.6 MB, free: 300 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.006771, allocations: 0.5205 MB / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.006783, allocations: 29.7 kB / 299.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.00684, allocations: 149.2 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.006863, allocations: 23.78 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.006892, allocations: 21.7 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.78e-05/0.00698, allocations: 366.6 kB / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.199e-05/0.006992, allocations: 4 kB / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.229e-05/0.007004, allocations: 11.92 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.973e-05/0.007044, allocations: 35.66 kB / 299.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.007044, allocations: 0 / 299.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.843e-05/0.007113, allocations: 73.66 kB / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.007124, allocations: 8 kB / 299.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.007127, allocations: 0 / 299.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.007138, allocations: 96 / 299.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.007205, allocations: 23.91 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.007207, allocations: 4 kB / 299.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.311e-05/0.007231, allocations: 4 kB / 299.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.007237, allocations: 4 kB / 299.9 MB, free: 14.98 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 (8): * Single equations (assignments): 8 * 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.709e-05/0.007304, allocations: 116.6 kB / 300 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.007329, allocations: 23.97 kB / 300 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.007448, allocations: 101.5 kB / 300.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.00745, allocations: 0 / 300.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.007451, allocations: 3.938 kB / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.007453, allocations: 0 / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.007716, allocations: 315.8 kB / 300.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007717, allocations: 0 / 300.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.007759, allocations: 19.92 kB / 300.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.007783, allocations: 39.7 kB / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.007784, allocations: 0 / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.007792, allocations: 11.98 kB / 300.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.007794, allocations: 0 / 300.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007795, allocations: 0 / 300.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.324e-05/0.007888, allocations: 176.2 kB / 300.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.007902, allocations: 0 / 300.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.069e-05/0.007943, allocations: 12.03 kB / 300.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.007966, allocations: 3.984 kB / 300.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.007971, allocations: 4 kB / 300.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001696/0.008141, allocations: 287.2 kB / 301 MB, free: 13.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008141, allocations: 0 / 301 MB, free: 13.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001439/0.008285, allocations: 35.92 kB / 301 MB, free: 13.78 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001342/0.009627, allocations: 0.6321 MB / 301.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.875e-05/0.009715, allocations: 36.78 kB / 301.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.009723, allocations: 4 kB / 301.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.407e-05/0.009757, allocations: 32.77 kB / 301.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.009973, allocations: 93.36 kB / 301.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006943/0.01067, allocations: 0.6214 MB / 302.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.616e-05/0.01074, allocations: 127.2 kB / 302.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.533e-05/0.01078, allocations: 13.19 kB / 302.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.01083, allocations: 63.36 kB / 302.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01083, allocations: 0 / 302.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of Templates: time 0.004163/0.015, allocations: 1.764 MB / 304.4 MB, free: 10.7 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8404389703646302]