Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.0009223/0.0009223, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001331/0.002253, 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.0008812/0.0008812, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001199/0.00208, 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.9687/0.9687, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08762/1.056, allocations: 53.65 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.2622/0.2622, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02876/0.291, 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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.342e-05, allocations: 4.969 kB / 292.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002154/0.002177, allocations: 1.73 MB / 294.6 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007879/0.002965, allocations: 0.5685 MB / 295.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.257e-05/0.003028, allocations: 4 kB / 295.2 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.00324, allocations: 95.61 kB / 295.3 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.003479, allocations: 107.5 kB / 295.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.003765, allocations: 131.5 kB / 295.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.003927, allocations: 99.75 kB / 295.6 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/0.004023, allocations: 31.89 kB / 295.6 MB, free: 3.406 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.004134, allocations: 71.88 kB / 295.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.39e-05/0.004227, allocations: 51.88 kB / 295.7 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.004241, allocations: 4 kB / 295.7 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.016e-05/0.004331, allocations: 51.86 kB / 295.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.915e-05/0.00438, allocations: 27.86 kB / 295.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.004405, allocations: 15.94 kB / 295.8 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.004562, allocations: 107.5 kB / 295.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.004573, allocations: 0 / 295.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004574, allocations: 0 / 295.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.004584, allocations: 0 / 295.9 MB, free: 3.082 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000398/0.004982, allocations: 356.9 kB / 296.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.005012, allocations: 8.625 kB / 296.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.005048, allocations: 16.92 kB / 296.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.005193, allocations: 154 kB / 296.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.005204, allocations: 8.312 kB / 296.5 MB, free: 2.504 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.005229, allocations: 8.359 kB / 296.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.005345, allocations: 74.92 kB / 296.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.005355, allocations: 192 / 296.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.005365, allocations: 8.125 kB / 296.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.005371, allocations: 4 kB / 296.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.155e-05/0.005402, allocations: 15.98 kB / 296.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.005658, allocations: 203 kB / 296.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.444e-05/0.005723, allocations: 38.55 kB / 296.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.005743, allocations: 16.8 kB / 296.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.005763, allocations: 4 kB / 296.8 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.005785, allocations: 34.56 kB / 296.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.005786, allocations: 4 kB / 296.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005213/0.006307, allocations: 205.9 kB / 297.1 MB, free: 1.848 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.006335, allocations: 55.41 kB / 297.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.006455, allocations: 197 kB / 297.3 MB, free: 1.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.006466, allocations: 29.7 kB / 297.4 MB, free: 1.535 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.006501, allocations: 100.1 kB / 297.5 MB, free: 1.434 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.006531, allocations: 43.64 kB / 297.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.006563, allocations: 29.83 kB / 297.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.831e-05/0.006641, allocations: 330.7 kB / 297.8 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.006661, allocations: 15.98 kB / 297.9 MB, free: 1.008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.702e-05/0.006678, allocations: 10.62 kB / 297.9 MB, free: 1 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.979e-05/0.006728, allocations: 47.58 kB / 297.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.006729, allocations: 0 / 297.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.81e-05/0.006817, allocations: 69.67 kB / 298 MB, free: 0.875 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.006835, allocations: 7.984 kB / 298 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.006841, allocations: 0 / 298 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.006855, allocations: 4 kB / 298 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.496e-05/0.00695, allocations: 27.98 kB / 298 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.006955, allocations: 7.938 kB / 298 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/0.006974, allocations: 4 kB / 298 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.00698, allocations: 0 / 298 MB, free: 0.8242 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 (13): * Single equations (assignments): 13 * 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.024e-05/0.007041, allocations: 120.6 kB / 298.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.007062, allocations: 15.98 kB / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.007194, allocations: 101 kB / 298.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.007196, allocations: 4 kB / 298.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.007198, allocations: 0 / 298.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.007201, allocations: 0 / 298.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.007474, allocations: 305.6 kB / 298.6 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.007476, allocations: 0 / 298.6 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.725e-05/0.007533, allocations: 23.98 kB / 298.6 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.007546, allocations: 15.89 kB / 298.6 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.00755, allocations: 4 kB / 298.6 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.007556, allocations: 4 kB / 298.6 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.00756, allocations: 3.938 kB / 298.6 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.007561, allocations: 0 / 298.6 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.7e-05/0.007658, allocations: 172.3 kB / 298.8 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.007687, allocations: 8.078 kB / 298.8 MB, free: 16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.436e-05/0.007721, allocations: 8.031 kB / 298.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.007752, allocations: 19.91 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.007757, allocations: 4 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.963e-05/0.007807, allocations: 61.55 kB / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007807, allocations: 0 / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.007952, allocations: 27.94 kB / 298.9 MB, free: 15.88 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 (13): * Single equations (assignments): 13 * 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.001458/0.009411, allocations: 0.6416 MB / 299.6 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.00953, allocations: 52.77 kB / 299.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.009539, allocations: 4 kB / 299.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.373e-05/0.009583, allocations: 40.78 kB / 299.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.00979, allocations: 83.66 kB / 299.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.01031, allocations: 282.5 kB / 300 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.384e-05/0.01035, allocations: 79.33 kB / 300.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.683e-05/0.0104, allocations: 20.47 kB / 300.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.01046, allocations: 59.38 kB / 300.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01046, allocations: 0 / 300.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of Templates: time 0.003458/0.01392, allocations: 1.771 MB / 301.9 MB, free: 13.16 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.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.7492502126842737]