Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.0007577/0.0007577, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001077/0.001835, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007199/0.0007199, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008637/0.001584, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 1.04/1.04, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09195/1.132, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.244/0.244, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0237/0.2677, allocations: 12.53 MB / 289.3 MB, free: 8.676 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.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.Test5,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 290.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.425e-05/3.617e-05, allocations: 2.312 kB / 290.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003823/0.003859, allocations: 1.695 MB / 292.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.005034, allocations: 0.5674 MB / 292.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.511e-05/0.005119, allocations: 0 / 292.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.005401, allocations: 91.14 kB / 293 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002646/0.005665, allocations: 111.8 kB / 293.1 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.006012, allocations: 117.8 kB / 293.2 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.006225, allocations: 81.98 kB / 293.3 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.006339, allocations: 18.91 kB / 293.3 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.006464, allocations: 68.98 kB / 293.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.006577, allocations: 47.88 kB / 293.4 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.006595, allocations: 4 kB / 293.4 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.00671, allocations: 43.92 kB / 293.5 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.006765, allocations: 23.92 kB / 293.5 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.006807, allocations: 11.94 kB / 293.5 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.007, allocations: 91.61 kB / 293.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.007e-05/0.007021, allocations: 4 kB / 293.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.007022, allocations: 0 / 293.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.333e-05/0.007045, allocations: 0 / 293.6 MB, free: 5.305 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.0005932/0.007638, allocations: 340.5 kB / 293.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.007681, allocations: 8.031 kB / 293.9 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.007718, allocations: 8.938 kB / 293.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.007919, allocations: 146.1 kB / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.007933, allocations: 384 / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.007962, allocations: 12.3 kB / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.008119, allocations: 54.95 kB / 294.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.008146, allocations: 4.188 kB / 294.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.008156, allocations: 4.125 kB / 294.2 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.008166, allocations: 4 kB / 294.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.155e-05/0.008198, allocations: 7.984 kB / 294.2 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.008519, allocations: 179 kB / 294.3 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.486e-05/0.008604, allocations: 37.56 kB / 294.4 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.448e-05/0.008628, allocations: 12.84 kB / 294.4 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.008662, allocations: 0 / 294.4 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.008696, allocations: 38.5 kB / 294.4 MB, free: 4.371 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.008697, allocations: 4 kB / 294.4 MB, free: 4.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005974/0.009294, allocations: 137.7 kB / 294.6 MB, free: 4.227 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.009337, allocations: 55.41 kB / 294.6 MB, free: 4.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.009485, allocations: 192.2 kB / 294.8 MB, free: 3.957 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.0095, allocations: 25.7 kB / 294.8 MB, free: 3.926 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.009545, allocations: 100.1 kB / 294.9 MB, free: 3.824 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.009579, allocations: 23.78 kB / 295 MB, free: 3.801 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.009618, allocations: 25.7 kB / 295 MB, free: 3.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.00973, allocations: 326.8 kB / 295.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.009749, allocations: 8 kB / 295.3 MB, free: 3.434 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.447e-05/0.009763, allocations: 4.078 kB / 295.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.286e-05/0.009806, allocations: 35.8 kB / 295.3 MB, free: 3.391 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.009808, allocations: 0 / 295.3 MB, free: 3.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.01e-05/0.009888, allocations: 65.55 kB / 295.4 MB, free: 3.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.009902, allocations: 4 kB / 295.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.009908, allocations: 0 / 295.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.009921, allocations: 96 / 295.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-05/0.01002, allocations: 27.97 kB / 295.4 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.01002, allocations: 0 / 295.4 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.576e-05/0.01005, allocations: 8 kB / 295.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.01005, allocations: 7.984 kB / 295.5 MB, free: 3.273 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 6.473e-05/0.01012, allocations: 112.6 kB / 295.6 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.01014, allocations: 15.94 kB / 295.6 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.01028, allocations: 79.02 kB / 295.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01028, allocations: 0 / 295.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.01028, allocations: 4 kB / 295.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.01028, allocations: 0 / 295.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.01056, allocations: 255.4 kB / 295.9 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.01056, allocations: 0 / 295.9 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.181e-05/0.01062, allocations: 20.03 kB / 295.9 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.01063, allocations: 15.89 kB / 296 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.01064, allocations: 0 / 296 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.01064, allocations: 0 / 296 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.01065, allocations: 4 kB / 296 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.01065, allocations: 0 / 296 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.01076, allocations: 168.2 kB / 296.1 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.01077, allocations: 0 / 296.1 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.455e-05/0.01081, allocations: 4 kB / 296.1 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.01084, allocations: 11.98 kB / 296.1 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.01084, allocations: 0 / 296.1 MB, free: 2.535 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.179e-05/0.0109, allocations: 60.7 kB / 296.2 MB, free: 2.473 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0109, allocations: 0 / 296.2 MB, free: 2.473 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.01105, allocations: 20 kB / 296.2 MB, free: 2.453 MB / 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.001804/0.01285, allocations: 0.6329 MB / 296.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.01297, allocations: 40.72 kB / 296.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.01298, allocations: 0 / 296.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.798e-05/0.013, allocations: 24.78 kB / 296.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.01322, allocations: 31.67 kB / 296.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.01377, allocations: 247.5 kB / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.023e-05/0.01382, allocations: 71.33 kB / 297.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.449e-05/0.01387, allocations: 17.09 kB / 297.3 MB, free: 1.695 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.01394, allocations: 63.36 kB / 297.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01394, allocations: 0 / 297.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of Templates: time 0.004143/0.01808, allocations: 1.545 MB / 298.9 MB, free: 100 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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.9197142869234085]