Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007689/0.0007689, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001868, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000979/0.000979, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001274/0.002253, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8999/0.8999, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1404/1.04, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.1867/0.1867, allocations: 32.8 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02164/0.2083, allocations: 12.53 MB / 284.5 MB, free: 9.711 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 285.9 MB, free: 8.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.767e-05, allocations: 4.984 kB / 285.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003112/0.003139, allocations: 1.656 MB / 287.5 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.00454, allocations: 1.181 MB / 288.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.676e-05/0.004587, allocations: 0 / 288.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.004711, allocations: 27.72 kB / 288.7 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.004834, allocations: 39.73 kB / 288.8 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.005041, allocations: 115.6 kB / 288.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.005161, allocations: 63.78 kB / 288.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.951e-05/0.00524, allocations: 11.92 kB / 289 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.105e-05/0.005331, allocations: 43.86 kB / 289 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.541e-05/0.005427, allocations: 19.95 kB / 289 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.005444, allocations: 4 kB / 289 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.00555, allocations: 51.86 kB / 289.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.685e-05/0.005587, allocations: 8 kB / 289.1 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.005608, allocations: 11.94 kB / 289.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.005754, allocations: 75.67 kB / 289.2 MB, free: 5.066 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/0.005766, allocations: 4 kB / 289.2 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005766, allocations: 4 kB / 289.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.005777, allocations: 0 / 289.2 MB, free: 5.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003629/0.006139, allocations: 280.3 kB / 289.5 MB, free: 4.762 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.006167, allocations: 12.03 kB / 289.5 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.006196, allocations: 8.859 kB / 289.5 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.006319, allocations: 137.6 kB / 289.6 MB, free: 4.582 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.672e-06/0.006325, allocations: 384 / 289.6 MB, free: 4.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.006345, allocations: 8.375 kB / 289.6 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.006445, allocations: 90.38 kB / 289.7 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.006453, allocations: 8.141 kB / 289.7 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-06/0.006461, allocations: 8.125 kB / 289.7 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.006467, allocations: 4 kB / 289.7 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.683e-05/0.006484, allocations: 7.984 kB / 289.7 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.006671, allocations: 163.1 kB / 289.9 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.006785, allocations: 29.39 kB / 289.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.0068, allocations: 8.859 kB / 289.9 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.006813, allocations: 0 / 289.9 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.006831, allocations: 38.62 kB / 290 MB, free: 4.164 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.006832, allocations: 4 kB / 290 MB, free: 4.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002351/0.007067, allocations: 77.62 kB / 290 MB, free: 4.078 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.00709, allocations: 51.41 kB / 290.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.254e-05/0.007173, allocations: 140.3 kB / 290.2 MB, free: 3.863 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.007181, allocations: 25.7 kB / 290.3 MB, free: 3.832 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.00721, allocations: 92.12 kB / 290.3 MB, free: 3.738 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.007228, allocations: 15.83 kB / 290.4 MB, free: 3.723 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/0.007254, allocations: 17.72 kB / 290.4 MB, free: 3.699 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.729e-05/0.007331, allocations: 322.8 kB / 290.7 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-06/0.007341, allocations: 4 kB / 290.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.28e-05/0.007384, allocations: 47.36 kB / 290.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.866e-05/0.007412, allocations: 27.66 kB / 290.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.007413, allocations: 0 / 290.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.94e-05/0.007462, allocations: 45.62 kB / 290.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.007475, allocations: 8 kB / 290.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.007478, allocations: 0 / 290.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.007489, allocations: 288 / 290.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.083e-05/0.00753, allocations: 15.92 kB / 290.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.007533, allocations: 0 / 290.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.00755, allocations: 8 kB / 290.8 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.007554, allocations: 4.188 kB / 290.9 MB, free: 3.195 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 (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 4.922e-05/0.007603, allocations: 116.7 kB / 291 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.00762, allocations: 15.91 kB / 291 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.299e-05/0.007693, allocations: 61.8 kB / 291 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.007694, allocations: 0 / 291 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.007695, allocations: 0 / 291 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.007699, allocations: 3.984 kB / 291 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.007895, allocations: 206.7 kB / 291.2 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.007897, allocations: 3.938 kB / 291.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.686e-05/0.007924, allocations: 15.98 kB / 291.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-06/0.007928, allocations: 0 / 291.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.00793, allocations: 4 kB / 291.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-06/0.007933, allocations: 4 kB / 291.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.007934, allocations: 0 / 291.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007935, allocations: 0 / 291.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.147e-05/0.008006, allocations: 155.4 kB / 291.4 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-06/0.008016, allocations: 0 / 291.4 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.999e-05/0.008046, allocations: 4 kB / 291.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.008068, allocations: 7.984 kB / 291.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.00807, allocations: 0 / 291.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.458e-05/0.008095, allocations: 26.17 kB / 291.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008095, allocations: 4 kB / 291.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001341/0.008229, allocations: 23.94 kB / 291.5 MB, free: 2.5 MB / 282.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.001207/0.009435, allocations: 0.603 MB / 292.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.405e-05/0.00951, allocations: 32.78 kB / 292.1 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.009517, allocations: 4 kB / 292.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.338e-05/0.00954, allocations: 16.8 kB / 292.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.009715, allocations: 95.25 kB / 292.2 MB, free: 2.035 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003866/0.0101, allocations: 166 kB / 292.4 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.904e-05/0.01013, allocations: 59.34 kB / 292.5 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.484e-05/0.01017, allocations: 7.984 kB / 292.5 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.01022, allocations: 71.36 kB / 292.5 MB, free: 1.688 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01022, allocations: 0 / 292.5 MB, free: 1.688 MB / 282.7 MB Notification: Performance of Templates: time 0.003026/0.01325, allocations: 1.553 MB / 294.1 MB, free: 156 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.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.72578033618629]