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.001072/0.001072, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001453/0.002525, 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.001077/0.001077, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001293/0.00237, 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.082/1.082, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09059/1.173, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.2648/0.2648, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02497/0.2898, allocations: 13.1 MB / 291.3 MB, free: 7.371 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.984e-06/1.984e-06, allocations: 0 / 292.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.595e-05, allocations: 3.188 kB / 292.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002872/0.002888, allocations: 1.755 MB / 294.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.003909, allocations: 0.584 MB / 295 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.003976, allocations: 4 kB / 295 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005851/0.004561, allocations: 498.9 kB / 295.5 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004173/0.004978, allocations: 311.2 kB / 295.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.005396, allocations: 180.2 kB / 296 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.005653, allocations: 179.6 kB / 296.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.005757, allocations: 16.17 kB / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.005963, allocations: 159.8 kB / 296.3 MB, free: 2.598 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.006192, allocations: 199.6 kB / 296.5 MB, free: 2.402 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.006214, allocations: 4 kB / 296.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.006333, allocations: 55.84 kB / 296.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.006436, allocations: 91.66 kB / 296.7 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.251e-05/0.006489, allocations: 31.75 kB / 296.7 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.006769, allocations: 199.2 kB / 296.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.619e-05/0.006786, allocations: 0 / 296.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006786, allocations: 0 / 296.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.006806, allocations: 3.938 kB / 296.9 MB, free: 2.023 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.0007735/0.007579, allocations: 0.6043 MB / 297.5 MB, free: 1.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.007617, allocations: 8.031 kB / 297.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.007671, allocations: 28.91 kB / 297.5 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.007922, allocations: 250 kB / 297.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.007935, allocations: 4.375 kB / 297.8 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.007957, allocations: 8.375 kB / 297.8 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.008088, allocations: 62.94 kB / 297.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.008099, allocations: 192 / 297.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.00811, allocations: 4.125 kB / 297.8 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.008116, allocations: 0 / 297.8 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.855e-05/0.008154, allocations: 11.94 kB / 297.9 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.00851, allocations: 211 kB / 298.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.527e-05/0.008585, allocations: 37.44 kB / 298.1 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.008606, allocations: 12.94 kB / 298.1 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.008632, allocations: 3.938 kB / 298.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.008658, allocations: 38.56 kB / 298.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.00866, allocations: 0 / 298.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006024/0.009262, allocations: 161.5 kB / 298.3 MB, free: 500 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.009297, allocations: 51.41 kB / 298.4 MB, free: 436 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.00979, allocations: 0.5322 MB / 298.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.009804, allocations: 25.7 kB / 298.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.598e-05/0.00989, allocations: 149.2 kB / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.00992, allocations: 23.78 kB / 299.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.009961, allocations: 29.7 kB / 299.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.0101, allocations: 362.6 kB / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.01012, allocations: 11.94 kB / 299.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.8e-05/0.01014, allocations: 7.984 kB / 299.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.085e-05/0.01019, allocations: 31.66 kB / 299.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.01019, allocations: 0 / 299.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001073/0.01029, allocations: 69.66 kB / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.01031, allocations: 4 kB / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.01031, allocations: 0 / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.01032, allocations: 0 / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.246e-05/0.0104, allocations: 27.92 kB / 299.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-06/0.01041, allocations: 0 / 299.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.211e-05/0.01045, allocations: 8.422 kB / 299.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.01046, allocations: 0 / 299.6 MB, free: 15.11 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 8.593e-05/0.01054, allocations: 116.6 kB / 299.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.722e-05/0.01059, allocations: 27.97 kB / 299.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.01075, allocations: 93.48 kB / 299.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.01076, allocations: 7.984 kB / 299.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.01076, allocations: 0 / 299.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.01076, allocations: 4 kB / 299.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/0.01114, allocations: 315.7 kB / 300.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01114, allocations: 0 / 300.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.587e-05/0.0112, allocations: 19.98 kB / 300.2 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.01124, allocations: 35.72 kB / 300.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.01125, allocations: 0 / 300.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.01125, allocations: 0 / 300.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.01126, allocations: 3.984 kB / 300.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01126, allocations: 0 / 300.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.0114, allocations: 184.2 kB / 300.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.01142, allocations: 12.03 kB / 300.4 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.01149, allocations: 0 / 300.4 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.01152, allocations: 7.984 kB / 300.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.01153, allocations: 0 / 300.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002772/0.01181, allocations: 287.2 kB / 300.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01181, allocations: 0 / 300.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002514/0.01206, allocations: 31.92 kB / 300.8 MB, free: 13.92 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.002007/0.01406, allocations: 0.628 MB / 301.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.081e-05/0.01414, allocations: 32.78 kB / 301.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.01415, allocations: 8 kB / 301.4 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.003e-05/0.01418, allocations: 16.86 kB / 301.4 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.01444, allocations: 48.33 kB / 301.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007676/0.01521, allocations: 0.6212 MB / 302.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.253e-05/0.01528, allocations: 123.2 kB / 302.2 MB, free: 12.74 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.534e-05/0.01532, allocations: 17.02 kB / 302.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.01537, allocations: 59.38 kB / 302.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01537, allocations: 0 / 302.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of Templates: time 0.003802/0.01917, allocations: 1.779 MB / 304.1 MB, free: 10.91 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.065069538541138]