Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.0008927/0.0008927, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001279/0.002172, 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.0007263/0.0007263, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.001736, 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.9528/0.9528, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08604/1.039, 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.2593/0.2593, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02506/0.2844, allocations: 13.11 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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282e-05/1.411e-05, allocations: 2.969 kB / 292.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.0019/0.001915, allocations: 1.701 MB / 294.6 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006642/0.002579, allocations: 0.5607 MB / 295.1 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.002626, allocations: 0 / 295.1 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.002833, allocations: 151.5 kB / 295.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.003029, allocations: 139.3 kB / 295.4 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.00325, allocations: 115.6 kB / 295.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.003385, allocations: 103.7 kB / 295.6 MB, free: 3.406 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.527e-05/0.00346, allocations: 15.97 kB / 295.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.42e-05/0.003554, allocations: 71.88 kB / 295.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.015e-05/0.003645, allocations: 63.86 kB / 295.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.003658, allocations: 4 kB / 295.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.439e-05/0.003732, allocations: 43.92 kB / 295.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.303e-05/0.003775, allocations: 27.86 kB / 295.8 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.003797, allocations: 19.88 kB / 295.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.003934, allocations: 99.59 kB / 296 MB, free: 3.066 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.23e-05/0.003946, allocations: 4 kB / 296 MB, free: 3.062 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003947, allocations: 0 / 296 MB, free: 3.062 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.003955, allocations: 4 kB / 296 MB, free: 3.059 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.0003719/0.004327, allocations: 348.9 kB / 296.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.004357, allocations: 12.03 kB / 296.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.004386, allocations: 8.938 kB / 296.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.004523, allocations: 157.4 kB / 296.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.004531, allocations: 384 / 296.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.004551, allocations: 8.375 kB / 296.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.601e-05/0.004637, allocations: 58.92 kB / 296.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.004645, allocations: 192 / 296.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.004656, allocations: 12.11 kB / 296.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.00466, allocations: 4 kB / 296.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.873e-05/0.004679, allocations: 11.98 kB / 296.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.004888, allocations: 183 kB / 296.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.936e-05/0.004937, allocations: 29.34 kB / 296.8 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.004958, allocations: 12.94 kB / 296.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.004976, allocations: 0 / 296.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.004997, allocations: 38.5 kB / 296.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.004998, allocations: 0 / 296.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000413/0.005411, allocations: 161.4 kB / 297 MB, free: 1.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.005437, allocations: 51.41 kB / 297 MB, free: 1.871 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.005555, allocations: 210.9 kB / 297.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.005566, allocations: 25.7 kB / 297.3 MB, free: 1.617 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.005599, allocations: 100.1 kB / 297.4 MB, free: 1.516 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.00562, allocations: 27.75 kB / 297.4 MB, free: 1.488 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.005647, allocations: 21.69 kB / 297.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.098e-05/0.005728, allocations: 330.8 kB / 297.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.005742, allocations: 4 kB / 297.7 MB, free: 1.125 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.167e-05/0.005754, allocations: 8 kB / 297.8 MB, free: 1.117 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.468e-05/0.005789, allocations: 35.66 kB / 297.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.00579, allocations: 0 / 297.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.84e-05/0.005848, allocations: 61.55 kB / 297.9 MB, free: 1.012 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.00586, allocations: 11.98 kB / 297.9 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.005865, allocations: 4 kB / 297.9 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.005876, allocations: 0 / 297.9 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.476e-05/0.005941, allocations: 12 kB / 297.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.005945, allocations: 4 kB / 297.9 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.751e-05/0.005963, allocations: 3.984 kB / 297.9 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.005968, allocations: 0 / 297.9 MB, free: 0.9766 MB / 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.501e-05/0.006023, allocations: 120.7 kB / 298 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.006042, allocations: 15.92 kB / 298 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.44e-05/0.006137, allocations: 71.39 kB / 298.1 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.006138, allocations: 0 / 298.1 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.006142, allocations: 7.984 kB / 298.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006145, allocations: 0 / 298.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.006372, allocations: 267.5 kB / 298.4 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.006373, allocations: 0 / 298.4 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.006411, allocations: 15.98 kB / 298.4 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-06/0.00642, allocations: 11.91 kB / 298.4 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.006426, allocations: 8.031 kB / 298.4 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.006431, allocations: 0 / 298.4 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.006432, allocations: 0 / 298.4 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.006433, allocations: 0 / 298.4 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.929e-05/0.006522, allocations: 176.7 kB / 298.6 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.006533, allocations: 0 / 298.6 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.154e-05/0.006565, allocations: 4 kB / 298.6 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.006587, allocations: 3.984 kB / 298.6 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.006592, allocations: 8 kB / 298.6 MB, free: 220 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.717e-05/0.006649, allocations: 68.89 kB / 298.6 MB, free: 148 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006649, allocations: 0 / 298.6 MB, free: 148 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001425/0.006792, allocations: 31.92 kB / 298.7 MB, free: 116 kB / 282.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.001366/0.008158, allocations: 0.6209 MB / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.528e-05/0.008253, allocations: 52.7 kB / 299.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.008259, allocations: 3.938 kB / 299.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.076e-05/0.00829, allocations: 20.86 kB / 299.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.008483, allocations: 83.84 kB / 299.5 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.008944, allocations: 264.9 kB / 299.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.225e-05/0.008987, allocations: 71.42 kB / 299.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.607e-05/0.009023, allocations: 24.64 kB / 299.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.009076, allocations: 59.38 kB / 299.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of SimCode: time 8.91e-07/0.009076, allocations: 0 / 299.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of Templates: time 0.002911/0.01199, allocations: 1.564 MB / 301.4 MB, free: 13.66 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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.8500855900347233]