Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001024/0.001024, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001353/0.002377, 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.001174/0.001174, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001615/0.002789, 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 0.9625/0.9625, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08401/1.046, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.2881/0.2881, allocations: 34.25 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02412/0.3122, allocations: 13.1 MB / 291.5 MB, free: 7.336 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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 292.9 MB, free: 6.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.278e-05, allocations: 4.812 kB / 292.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002285/0.002318, allocations: 1.689 MB / 294.5 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.003745, allocations: 1.344 MB / 295.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/0.0038, allocations: 0 / 295.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.003934, allocations: 27.78 kB / 295.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.004097, allocations: 83.5 kB / 296 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.004319, allocations: 124.5 kB / 296.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.00445, allocations: 87.77 kB / 296.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.108e-05/0.004541, allocations: 15.97 kB / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.4e-05/0.004625, allocations: 55.89 kB / 296.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.896e-05/0.004714, allocations: 27.91 kB / 296.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.004729, allocations: 4 kB / 296.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.00488, allocations: 99.81 kB / 296.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.746e-05/0.004918, allocations: 11.94 kB / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.00494, allocations: 15.94 kB / 296.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.005116, allocations: 139.4 kB / 296.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.005127, allocations: 0 / 296.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.005128, allocations: 4 kB / 296.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.005139, allocations: 0 / 296.6 MB, free: 2.465 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.0003833/0.005522, allocations: 325.1 kB / 296.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.005551, allocations: 12.03 kB / 296.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.005581, allocations: 4.938 kB / 296.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.005716, allocations: 143.2 kB / 297 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.005725, allocations: 8.312 kB / 297.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.005744, allocations: 384 / 297.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.00586, allocations: 106.3 kB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.005867, allocations: 192 / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.005876, allocations: 12.12 kB / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.00588, allocations: 0 / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.471e-05/0.005905, allocations: 15.92 kB / 297.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.006114, allocations: 183 kB / 297.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.68e-05/0.006171, allocations: 38.58 kB / 297.4 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.543e-05/0.006187, allocations: 8.859 kB / 297.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.006206, allocations: 7.984 kB / 297.4 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.006228, allocations: 38.62 kB / 297.5 MB, free: 1.477 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.31e-07/0.006228, allocations: 0 / 297.5 MB, free: 1.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000297/0.006525, allocations: 109.6 kB / 297.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.006548, allocations: 51.41 kB / 297.6 MB, free: 1.301 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.419e-05/0.006643, allocations: 153.9 kB / 297.8 MB, free: 1.137 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.006654, allocations: 25.7 kB / 297.8 MB, free: 1.105 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.006686, allocations: 96.11 kB / 297.9 MB, free: 1.008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.006707, allocations: 23.75 kB / 297.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.006735, allocations: 17.72 kB / 297.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.401e-05/0.006809, allocations: 326.8 kB / 298.2 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.006822, allocations: 4.375 kB / 298.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.249e-05/0.006854, allocations: 51.47 kB / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.596e-05/0.00689, allocations: 35.59 kB / 298.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.006892, allocations: 8.031 kB / 298.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.126e-05/0.006953, allocations: 61.61 kB / 298.4 MB, free: 464 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.006965, allocations: 8 kB / 298.4 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.006969, allocations: 0 / 298.4 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.00698, allocations: 0 / 298.4 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.007046, allocations: 19.98 kB / 298.4 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.007049, allocations: 0 / 298.4 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.007067, allocations: 0 / 298.4 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.007073, allocations: 4 kB / 298.4 MB, free: 432 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 (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 5.745e-05/0.00713, allocations: 120.6 kB / 298.5 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.007149, allocations: 15.94 kB / 298.6 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.902e-05/0.007248, allocations: 74.38 kB / 298.6 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.00725, allocations: 0 / 298.6 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.007252, allocations: 0 / 298.6 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.007254, allocations: 0 / 298.6 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.007713, allocations: 238.9 kB / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.007715, allocations: 4 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/0.007757, allocations: 15.98 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.007765, allocations: 7.953 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.007767, allocations: 0 / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-06/0.007771, allocations: 4 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.007773, allocations: 80 / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.007774, allocations: 3.984 kB / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.963e-05/0.007854, allocations: 163.4 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.007865, allocations: 4 kB / 299.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.161e-05/0.007896, allocations: 3.984 kB / 299.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.007917, allocations: 4 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.007922, allocations: 4 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.208e-05/0.007954, allocations: 37.2 kB / 299.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007954, allocations: 0 / 299.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001652/0.008119, allocations: 39.88 kB / 299.2 MB, free: 15.63 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 (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.001364/0.009483, allocations: 0.707 MB / 299.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.435e-05/0.009568, allocations: 32.83 kB / 299.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.009572, allocations: 0 / 299.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.109e-05/0.009603, allocations: 32.78 kB / 299.9 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.009784, allocations: 91.19 kB / 300 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.01018, allocations: 186.8 kB / 300.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.865e-05/0.01022, allocations: 67.34 kB / 300.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.466e-05/0.01026, allocations: 17.17 kB / 300.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.664e-05/0.01033, allocations: 75.34 kB / 300.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of SimCode: time 1.193e-06/0.01033, allocations: 0 / 300.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of Templates: time 0.00334/0.01367, allocations: 2.141 MB / 302.5 MB, free: 12.61 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.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.972153293900192]