Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001361/0.001361, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002053/0.003414, 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.001222/0.001222, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001618/0.00284, 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.036/1.036, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1042/1.14, 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.2803/0.2803, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02383/0.3042, 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 292.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.452e-05, allocations: 3.719 kB / 292.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002158/0.002172, allocations: 1.755 MB / 294.6 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00082/0.002992, allocations: 0.5996 MB / 295.2 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.003047, allocations: 0 / 295.2 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004424/0.00349, allocations: 0.4949 MB / 295.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003549/0.003845, allocations: 311.1 kB / 296 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.004215, allocations: 176.5 kB / 296.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.004446, allocations: 183.6 kB / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/0.004542, allocations: 20.14 kB / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.0047, allocations: 163.8 kB / 296.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.004853, allocations: 199.6 kB / 296.8 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.00487, allocations: 4 kB / 296.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.019e-05/0.00496, allocations: 55.84 kB / 296.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.673e-05/0.005037, allocations: 83.72 kB / 296.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.005073, allocations: 39.69 kB / 296.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.005276, allocations: 211.1 kB / 297.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.005286, allocations: 0 / 297.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005287, allocations: 0 / 297.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.005296, allocations: 0 / 297.1 MB, free: 1.879 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.000497/0.005793, allocations: 0.6082 MB / 297.7 MB, free: 1.246 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.005821, allocations: 12.03 kB / 297.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.005865, allocations: 28.91 kB / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.006039, allocations: 246 kB / 298 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.006048, allocations: 384 / 298 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.006069, allocations: 8.375 kB / 298 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.006178, allocations: 70.86 kB / 298.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.006187, allocations: 192 / 298.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.006196, allocations: 8.109 kB / 298.1 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.006204, allocations: 4 kB / 298.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.848e-05/0.006232, allocations: 8 kB / 298.1 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.006491, allocations: 219 kB / 298.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.00662, allocations: 38.56 kB / 298.4 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.006637, allocations: 8.859 kB / 298.4 MB, free: 0.543 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.006655, allocations: 0 / 298.4 MB, free: 0.543 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.006677, allocations: 34.5 kB / 298.4 MB, free: 0.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.006678, allocations: 0 / 298.4 MB, free: 0.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005278/0.007206, allocations: 245.8 kB / 298.7 MB, free: 260 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.007229, allocations: 51.41 kB / 298.7 MB, free: 196 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.007531, allocations: 0.5322 MB / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.007543, allocations: 25.7 kB / 299.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.007598, allocations: 145.3 kB / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.007624, allocations: 35.69 kB / 299.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.007655, allocations: 25.69 kB / 299.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.849e-05/0.007744, allocations: 362.6 kB / 299.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.007761, allocations: 11.98 kB / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.588e-05/0.007777, allocations: 13.97 kB / 299.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.604e-05/0.007823, allocations: 47.59 kB / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.007824, allocations: 0 / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.116e-05/0.007905, allocations: 84.66 kB / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.007916, allocations: 8 kB / 300 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.007921, allocations: 0 / 300 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.007933, allocations: 0 / 300 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.008, allocations: 23.98 kB / 300 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.008003, allocations: 0 / 300 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.008033, allocations: 7.984 kB / 300 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.008041, allocations: 15.94 kB / 300 MB, free: 14.82 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 (11): * Single equations (assignments): 11 * 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.781e-05/0.008109, allocations: 112.6 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.00814, allocations: 27.97 kB / 300.2 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.008269, allocations: 113.5 kB / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.008272, allocations: 4 kB / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.008273, allocations: 0 / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.008275, allocations: 0 / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.008542, allocations: 348.1 kB / 300.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.008543, allocations: 0 / 300.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.138e-05/0.008595, allocations: 32.05 kB / 300.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.008619, allocations: 39.7 kB / 300.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.00862, allocations: 3.938 kB / 300.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.008626, allocations: 192 / 300.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.008628, allocations: 11.94 kB / 300.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.00863, allocations: 3.938 kB / 300.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.008733, allocations: 189.2 kB / 300.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.008747, allocations: 0 / 300.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.465e-05/0.008792, allocations: 8 kB / 300.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.008821, allocations: 15.86 kB / 300.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.008825, allocations: 8 kB / 300.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001662/0.008992, allocations: 291.2 kB / 301.2 MB, free: 13.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008992, allocations: 0 / 301.2 MB, free: 13.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001487/0.00914, allocations: 28 kB / 301.2 MB, free: 13.54 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001426/0.01057, allocations: 0.632 MB / 301.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.202e-05/0.01066, allocations: 48.72 kB / 301.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.01067, allocations: 7.984 kB / 301.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.112e-05/0.01071, allocations: 36.78 kB / 302 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.01093, allocations: 111.8 kB / 302.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007211/0.01165, allocations: 0.6456 MB / 302.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.324e-05/0.01172, allocations: 131.2 kB / 302.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.841e-05/0.01176, allocations: 12.48 kB / 302.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.01182, allocations: 63.38 kB / 302.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01182, allocations: 0 / 302.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of Templates: time 0.003863/0.01568, allocations: 1.948 MB / 304.9 MB, free: 10.2 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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.8130628131330013]