Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.0007488/0.0007488, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00107/0.001818, 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.0006626/0.0006626, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008749/0.001537, 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.9322/0.9322, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09736/1.03, 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.252/0.252, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0272/0.2792, allocations: 13.1 MB / 291.5 MB, free: 7.328 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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 292.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/2.99e-05, allocations: 4.062 kB / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003508/0.003538, allocations: 1.691 MB / 294.5 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.005444, allocations: 1.337 MB / 295.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.005507, allocations: 0 / 295.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.005684, allocations: 23.8 kB / 295.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.005918, allocations: 91.42 kB / 296 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.006181, allocations: 87.64 kB / 296.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.006353, allocations: 87.7 kB / 296.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.667e-05/0.00645, allocations: 19.97 kB / 296.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.00657, allocations: 51.89 kB / 296.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.006703, allocations: 23.92 kB / 296.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.006721, allocations: 8 kB / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.006924, allocations: 99.75 kB / 296.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.006973, allocations: 11.94 kB / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.007004, allocations: 15.94 kB / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.007248, allocations: 131.5 kB / 296.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.429e-05/0.007262, allocations: 0 / 296.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.007264, allocations: 0 / 296.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.007276, allocations: 0 / 296.5 MB, free: 2.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004775/0.007753, allocations: 329.1 kB / 296.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.007787, allocations: 8.031 kB / 296.9 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.007825, allocations: 12.92 kB / 296.9 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.007985, allocations: 139.2 kB / 297 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.577e-06/0.007993, allocations: 384 / 297 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.008025, allocations: 8.375 kB / 297 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.008162, allocations: 106.3 kB / 297.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.008172, allocations: 192 / 297.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.008181, allocations: 4.125 kB / 297.1 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.008189, allocations: 4 kB / 297.1 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.971e-05/0.008219, allocations: 7.984 kB / 297.1 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002098/0.008429, allocations: 175 kB / 297.3 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.424e-05/0.008483, allocations: 42.44 kB / 297.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.445e-05/0.008498, allocations: 12.86 kB / 297.4 MB, free: 1.574 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.008516, allocations: 0 / 297.4 MB, free: 1.574 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.008539, allocations: 34.62 kB / 297.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.00854, allocations: 4 kB / 297.4 MB, free: 1.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003646/0.008904, allocations: 109.6 kB / 297.5 MB, free: 1.414 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.008931, allocations: 51.41 kB / 297.5 MB, free: 1.352 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.009058, allocations: 150 kB / 297.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.009069, allocations: 25.7 kB / 297.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.009107, allocations: 100 kB / 297.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.009137, allocations: 27.75 kB / 297.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.009172, allocations: 29.69 kB / 297.9 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.465e-05/0.009257, allocations: 318.8 kB / 298.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.009273, allocations: 7.984 kB / 298.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.693e-05/0.00931, allocations: 47.73 kB / 298.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.009355, allocations: 32.81 kB / 298.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.009357, allocations: 0 / 298.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.962e-05/0.009436, allocations: 57.62 kB / 298.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.009449, allocations: 8 kB / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.009453, allocations: 0 / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.009466, allocations: 0 / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.009554, allocations: 27.95 kB / 298.4 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.009557, allocations: 0 / 298.4 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.654e-05/0.009584, allocations: 4 kB / 298.4 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.009592, allocations: 7.984 kB / 298.4 MB, free: 476 kB / 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 0.0001089/0.009701, allocations: 108.7 kB / 298.5 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.009728, allocations: 15.94 kB / 298.5 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.009849, allocations: 70.73 kB / 298.6 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.009852, allocations: 0 / 298.6 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.009853, allocations: 0 / 298.6 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.00986, allocations: 0 / 298.6 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.01013, allocations: 242.7 kB / 298.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01013, allocations: 0 / 298.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-05/0.01019, allocations: 23.88 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.0102, allocations: 7.953 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.0102, allocations: 0 / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.01021, allocations: 4 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.01021, allocations: 3.938 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01021, allocations: 0 / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.651e-05/0.01031, allocations: 151.5 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.01032, allocations: 0 / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.691e-05/0.01038, allocations: 11.98 kB / 299 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.01041, allocations: 8 kB / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.01041, allocations: 3.984 kB / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.607e-05/0.01046, allocations: 33.22 kB / 299 MB, free: 15.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01046, allocations: 0 / 299 MB, free: 15.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002405/0.0107, allocations: 43.88 kB / 299.1 MB, free: 15.69 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 (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.001808/0.01251, allocations: 0.6961 MB / 299.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.01261, allocations: 48.7 kB / 299.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.01261, allocations: 0 / 299.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.888e-05/0.01265, allocations: 24.86 kB / 299.9 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.0129, allocations: 91.27 kB / 299.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.01342, allocations: 182.9 kB / 300.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.312e-05/0.01347, allocations: 63.34 kB / 300.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.195e-05/0.01352, allocations: 13.19 kB / 300.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.243e-05/0.0136, allocations: 71.36 kB / 300.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of SimCode: time 8.11e-07/0.0136, allocations: 4 kB / 300.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of Templates: time 0.005433/0.01903, allocations: 2.117 MB / 302.4 MB, free: 12.71 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.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: 3.001447666436434]