Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.0007962/0.0007962, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001911/0.002707, allocations: 453.9 kB / 10.45 MB, free: 244 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.001221/0.001221, allocations: 161.1 kB / 11.35 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001705/0.002927, allocations: 475.6 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.002/1.002, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09839/1.1, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.2616/0.2616, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02346/0.285, allocations: 13.1 MB / 291.5 MB, free: 7.332 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 292.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.662e-05, allocations: 8.516 kB / 292.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.001971/0.001988, allocations: 1.746 MB / 294.6 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.003387, allocations: 1.356 MB / 296 MB, free: 3.062 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.303e-05/0.00346, allocations: 0 / 296 MB, free: 3.062 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.003625, allocations: 27.78 kB / 296 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.003945, allocations: 87.44 kB / 296.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.004351, allocations: 181.2 kB / 296.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.004494, allocations: 83.77 kB / 296.3 MB, free: 2.691 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.637e-05/0.004581, allocations: 15.92 kB / 296.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.249e-05/0.004673, allocations: 55.89 kB / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.748e-05/0.004771, allocations: 27.91 kB / 296.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.004787, allocations: 8 kB / 296.4 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.004956, allocations: 103.8 kB / 296.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.005002, allocations: 15.94 kB / 296.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.005024, allocations: 11.94 kB / 296.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.005201, allocations: 131.6 kB / 296.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.005211, allocations: 0 / 296.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005211, allocations: 0 / 296.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.005221, allocations: 0 / 296.7 MB, free: 2.328 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.0004224/0.005643, allocations: 329.1 kB / 297 MB, free: 1.984 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.005676, allocations: 8.031 kB / 297 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.005717, allocations: 16.94 kB / 297 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.005856, allocations: 127.2 kB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.005866, allocations: 4.375 kB / 297.2 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.005887, allocations: 8.359 kB / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.006014, allocations: 106.3 kB / 297.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.006023, allocations: 192 / 297.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.006032, allocations: 4.125 kB / 297.3 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.006038, allocations: 0 / 297.3 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.575e-05/0.006063, allocations: 11.98 kB / 297.3 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.006292, allocations: 175 kB / 297.5 MB, free: 1.473 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.661e-05/0.006349, allocations: 38.52 kB / 297.5 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.006366, allocations: 12.94 kB / 297.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.006383, allocations: 0 / 297.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.006404, allocations: 34.5 kB / 297.6 MB, free: 1.367 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.006405, allocations: 0 / 297.6 MB, free: 1.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003133/0.006718, allocations: 109.6 kB / 297.7 MB, free: 1.254 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.006743, allocations: 51.41 kB / 297.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.638e-05/0.006829, allocations: 136.4 kB / 297.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.006843, allocations: 37.69 kB / 297.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.006877, allocations: 104 kB / 298 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.006895, allocations: 15.84 kB / 298 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.006925, allocations: 21.72 kB / 298 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.007005, allocations: 322.8 kB / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.007019, allocations: 8 kB / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.239e-05/0.007051, allocations: 47.36 kB / 298.4 MB, free: 476 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/0.007087, allocations: 27.66 kB / 298.4 MB, free: 444 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.007088, allocations: 0 / 298.4 MB, free: 444 kB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.021e-05/0.007148, allocations: 61.61 kB / 298.5 MB, free: 376 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.007161, allocations: 8 kB / 298.5 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.007165, allocations: 8.031 kB / 298.5 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.007177, allocations: 288 / 298.5 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.811e-05/0.007245, allocations: 15.98 kB / 298.5 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.00725, allocations: 7.938 kB / 298.5 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.434e-05/0.007274, allocations: 7.984 kB / 298.5 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.00728, allocations: 0 / 298.5 MB, free: 328 kB / 282.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.168e-05/0.007331, allocations: 112.7 kB / 298.6 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.885e-05/0.00735, allocations: 19.91 kB / 298.7 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.565e-05/0.007446, allocations: 62.39 kB / 298.7 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.007448, allocations: 4 kB / 298.7 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.00745, allocations: 4 kB / 298.7 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.007453, allocations: 0 / 298.7 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.007669, allocations: 235 kB / 298.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.00767, allocations: 0 / 298.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.007714, allocations: 19.98 kB / 299 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-06/0.007723, allocations: 7.953 kB / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.007726, allocations: 0 / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.007732, allocations: 8 kB / 299 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007733, allocations: 0 / 299 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.007735, allocations: 3.984 kB / 299 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.851e-05/0.007824, allocations: 155.4 kB / 299.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.007837, allocations: 7.984 kB / 299.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.67e-05/0.007874, allocations: 8 kB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.007901, allocations: 7.922 kB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.007904, allocations: 0 / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.16e-05/0.007936, allocations: 31.33 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007936, allocations: 4 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001599/0.008095, allocations: 39.86 kB / 299.2 MB, free: 15.54 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.001369/0.009465, allocations: 0.6912 MB / 299.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.393e-05/0.009559, allocations: 36.81 kB / 300 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.009566, allocations: 7.938 kB / 300 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.289e-05/0.009599, allocations: 28.78 kB / 300 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.009781, allocations: 87.22 kB / 300.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.0102, allocations: 202.6 kB / 300.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.617e-05/0.01024, allocations: 67.34 kB / 300.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.457e-05/0.01028, allocations: 16.72 kB / 300.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.391e-05/0.01035, allocations: 63.36 kB / 300.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01035, allocations: 4 kB / 300.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of Templates: time 0.003501/0.01385, allocations: 2.179 MB / 302.6 MB, free: 12.49 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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.8214384391903877]