Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001004/0.001004, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001425/0.002429, allocations: 449.7 kB / 10.37 MB, free: 328 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.003921/0.003921, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01093/0.01485, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.017/1.017, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.101/1.117, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.2547/0.2547, allocations: 34.26 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.023/0.2777, allocations: 13.1 MB / 291.3 MB, free: 7.379 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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,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.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 292.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136e-05/1.287e-05, allocations: 3.859 kB / 292.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.001998/0.002011, allocations: 1.738 MB / 294.4 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008176/0.002829, allocations: 0.5918 MB / 295 MB, free: 3.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.388e-05/0.002883, allocations: 0 / 295 MB, free: 3.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000394/0.003276, allocations: 494.9 kB / 295.5 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.003579, allocations: 315.2 kB / 295.8 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.003902, allocations: 177 kB / 295.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.004095, allocations: 179.6 kB / 296.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.028e-05/0.004176, allocations: 15.92 kB / 296.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.004322, allocations: 163.8 kB / 296.3 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.004482, allocations: 191.7 kB / 296.5 MB, free: 2.426 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.004498, allocations: 4 kB / 296.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.846e-05/0.004576, allocations: 35.97 kB / 296.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-05/0.004656, allocations: 87.72 kB / 296.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.374e-05/0.0047, allocations: 35.69 kB / 296.6 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.004898, allocations: 199.1 kB / 296.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.336e-05/0.004912, allocations: 4 kB / 296.8 MB, free: 2.066 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004912, allocations: 0 / 296.8 MB, free: 2.066 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.004924, allocations: 0 / 296.8 MB, free: 2.066 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006267/0.005551, allocations: 0.6004 MB / 297.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.005585, allocations: 8.031 kB / 297.5 MB, free: 1.434 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.978e-05/0.005644, allocations: 24.91 kB / 297.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.005893, allocations: 250 kB / 297.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.005905, allocations: 8.359 kB / 297.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.005925, allocations: 4.375 kB / 297.7 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.006056, allocations: 62.88 kB / 297.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.006066, allocations: 192 / 297.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.006075, allocations: 4.125 kB / 297.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.006082, allocations: 4 kB / 297.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.439e-05/0.006116, allocations: 7.984 kB / 297.8 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.006449, allocations: 211 kB / 298 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.997e-05/0.006519, allocations: 30.52 kB / 298 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.754e-05/0.006537, allocations: 8.859 kB / 298.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.00656, allocations: 4.094 kB / 298.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.006589, allocations: 42.48 kB / 298.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.575e-05/0.006604, allocations: 0 / 298.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003763/0.006981, allocations: 117.9 kB / 298.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.007014, allocations: 59.39 kB / 298.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004411/0.007455, allocations: 0.5283 MB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.00747, allocations: 25.7 kB / 298.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.49e-05/0.007555, allocations: 145.2 kB / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.007579, allocations: 27.78 kB / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.007608, allocations: 17.72 kB / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.007704, allocations: 362.7 kB / 299.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.007718, allocations: 4 kB / 299.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.357e-05/0.007732, allocations: 7.984 kB / 299.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.945e-05/0.007771, allocations: 35.59 kB / 299.4 MB, free: 15.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.007772, allocations: 0 / 299.4 MB, free: 15.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.644e-05/0.007849, allocations: 77.58 kB / 299.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.00786, allocations: 8 kB / 299.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.007864, allocations: 0 / 299.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/0.007871, allocations: 0 / 299.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.604e-05/0.007947, allocations: 23.98 kB / 299.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.007949, allocations: 0 / 299.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.772e-05/0.007977, allocations: 7.938 kB / 299.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.007981, allocations: 0 / 299.5 MB, free: 15.21 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 6.445e-05/0.008046, allocations: 120.6 kB / 299.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.00807, allocations: 23.92 kB / 299.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.008187, allocations: 93.56 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.008189, allocations: 0 / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.008191, allocations: 0 / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.008196, allocations: 7.984 kB / 299.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.008462, allocations: 294.9 kB / 300.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.008464, allocations: 0 / 300.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.475e-05/0.008519, allocations: 15.98 kB / 300.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.008542, allocations: 35.72 kB / 300.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.008544, allocations: 0 / 300.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.008549, allocations: 0 / 300.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.00855, allocations: 0 / 300.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008551, allocations: 4 kB / 300.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.683e-05/0.008648, allocations: 179.4 kB / 300.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.008662, allocations: 0 / 300.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.4e-05/0.008706, allocations: 11.98 kB / 300.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.008732, allocations: 7.984 kB / 300.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.008735, allocations: 0 / 300.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001716/0.008907, allocations: 283.2 kB / 300.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008907, allocations: 0 / 300.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001424/0.009049, allocations: 24 kB / 300.6 MB, free: 14.07 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.001497/0.01055, allocations: 0.5582 MB / 301.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.659e-05/0.01064, allocations: 32.84 kB / 301.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/0.01066, allocations: 4 kB / 301.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.259e-05/0.01069, allocations: 28.72 kB / 301.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.01094, allocations: 42.23 kB / 301.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008585/0.0118, allocations: 0.5893 MB / 301.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.544e-05/0.0119, allocations: 123.2 kB / 302 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.754e-05/0.01194, allocations: 17.02 kB / 302 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.01201, allocations: 63.38 kB / 302.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01201, allocations: 0 / 302.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of Templates: time 0.004305/0.01631, allocations: 1.625 MB / 303.7 MB, free: 11.26 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.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.9563520653173327]