Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.001433/0.001433, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001159/0.001159, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2906/0.2906, allocations: 32.8 MB / 294.6 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 4 kB / 323.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.58e-05, allocations: 6.906 kB / 323.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.002619/0.002645, allocations: 1.677 MB / 325 MB, free: 7.977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.003938, allocations: 1.297 MB / 326.3 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.69e-05/0.003995, allocations: 3.938 kB / 326.3 MB, free: 6.668 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.004184, allocations: 23.78 kB / 326.3 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.004446, allocations: 87.55 kB / 326.4 MB, free: 6.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.004698, allocations: 107.7 kB / 326.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.004821, allocations: 67.78 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.372e-05/0.004894, allocations: 23.84 kB / 326.6 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.922e-05/0.004954, allocations: 31.92 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.098e-05/0.005045, allocations: 27.91 kB / 326.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.005058, allocations: 4 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.005215, allocations: 87.88 kB / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.779e-05/0.005253, allocations: 27.84 kB / 326.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.005275, allocations: 8 kB / 326.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.00546, allocations: 131.6 kB / 326.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005463, allocations: 0 / 326.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.005463, allocations: 0 / 326.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.005468, allocations: 0 / 326.9 MB, free: 6.051 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000479/0.005947, allocations: 309.5 kB / 327.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.005982, allocations: 8.031 kB / 327.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.006015, allocations: 4.938 kB / 327.2 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.006161, allocations: 129.7 kB / 327.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.006171, allocations: 4.375 kB / 327.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.006188, allocations: 384 / 327.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.006309, allocations: 102.3 kB / 327.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.006318, allocations: 4.188 kB / 327.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.006328, allocations: 4.125 kB / 327.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.006334, allocations: 4 kB / 327.4 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.222e-05/0.006356, allocations: 11.94 kB / 327.4 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002525/0.006608, allocations: 167.8 kB / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.00675, allocations: 37.38 kB / 327.6 MB, free: 5.188 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.601e-05/0.006766, allocations: 8.859 kB / 327.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.006783, allocations: 4 kB / 327.7 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.006807, allocations: 30.56 kB / 327.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.006808, allocations: 3.938 kB / 327.7 MB, free: 5.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002917/0.0071, allocations: 81.62 kB / 327.8 MB, free: 5.043 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.007138, allocations: 85.05 kB / 327.9 MB, free: 4.941 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.007238, allocations: 146.7 kB / 328 MB, free: 4.785 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.00725, allocations: 25.7 kB / 328 MB, free: 4.754 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.007286, allocations: 96.06 kB / 328.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.007307, allocations: 15.91 kB / 328.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.007338, allocations: 17.7 kB / 328.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.007426, allocations: 314.8 kB / 328.5 MB, free: 4.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.007436, allocations: 4 kB / 328.5 MB, free: 4.297 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.504e-05/0.007471, allocations: 47.41 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.815e-05/0.007509, allocations: 27.66 kB / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.007511, allocations: 0 / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.788e-05/0.007579, allocations: 53.59 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.007591, allocations: 8 kB / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.007598, allocations: 3.984 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.007609, allocations: 0 / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.158e-05/0.007661, allocations: 11.98 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.646e-06/0.007665, allocations: 4 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.007685, allocations: 0 / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.007689, allocations: 0 / 328.6 MB, free: 4.121 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 (5): * Single equations (assignments): 5 * 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.621e-05/0.007755, allocations: 120.6 kB / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.007778, allocations: 11.92 kB / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.007881, allocations: 62.34 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.007883, allocations: 0 / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.007885, allocations: 7.938 kB / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.007888, allocations: 3.984 kB / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.008074, allocations: 206.8 kB / 329 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.008076, allocations: 3.938 kB / 329 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.008106, allocations: 8 kB / 329 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.008108, allocations: 0 / 329 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-06/0.008113, allocations: 0 / 329 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.008114, allocations: 4 kB / 329 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.008122, allocations: 3.938 kB / 329 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.755e-05/0.008199, allocations: 151.8 kB / 329.2 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.008209, allocations: 11.89 kB / 329.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.008221, allocations: 7.984 kB / 329.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.623e-05/0.008257, allocations: 3.984 kB / 329.2 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.008281, allocations: 4 kB / 329.2 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.008285, allocations: 4 kB / 329.2 MB, free: 3.461 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.762e-05/0.008323, allocations: 27.67 kB / 329.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008323, allocations: 0 / 329.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.008498, allocations: 39.86 kB / 329.3 MB, free: 3.391 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 (5): * Single equations (assignments): 5 * 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.001243/0.009741, allocations: 0.6331 MB / 329.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.689e-05/0.009818, allocations: 24.78 kB / 329.9 MB, free: 3.047 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.009821, allocations: 0 / 329.9 MB, free: 3.047 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.765e-05/0.009839, allocations: 12.86 kB / 329.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.009995, allocations: 23.17 kB / 330 MB, free: 3.012 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.01026, allocations: 170.5 kB / 330.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.887e-05/0.0103, allocations: 67.28 kB / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.042e-05/0.01034, allocations: 15.97 kB / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.0104, allocations: 67.36 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.0104, allocations: 0 / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of Templates: time 0.003416/0.01382, allocations: 2.004 MB / 332.3 MB, free: 0.6641 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.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.9668485689908266]