Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.000794/0.000794, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.001799, 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.0007026/0.0007026, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009739/0.001677, 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 0.9832/0.9832, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1165/1.1, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.334/0.334, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03122/0.3652, allocations: 13.1 MB / 291.3 MB, free: 7.363 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.606e-05, allocations: 3.297 kB / 292.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.001826/0.001842, allocations: 1.679 MB / 294.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006895/0.002532, allocations: 0.5569 MB / 294.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.002591, allocations: 3.938 kB / 294.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.002745, allocations: 23.78 kB / 294.9 MB, free: 4 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.002887, allocations: 79.61 kB / 295 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.0031, allocations: 108.3 kB / 295.1 MB, free: 3.816 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.003242, allocations: 71.72 kB / 295.2 MB, free: 3.746 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.003329, allocations: 15.95 kB / 295.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.317e-05/0.003412, allocations: 47.92 kB / 295.2 MB, free: 3.684 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.109e-05/0.003484, allocations: 19.92 kB / 295.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.003496, allocations: 4 kB / 295.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.606e-05/0.003563, allocations: 35.91 kB / 295.3 MB, free: 3.625 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.801e-05/0.003601, allocations: 15.94 kB / 295.3 MB, free: 3.609 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.003627, allocations: 7.938 kB / 295.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.003763, allocations: 67.75 kB / 295.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.651e-05/0.003779, allocations: 0 / 295.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.00378, allocations: 0 / 295.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.003795, allocations: 0 / 295.4 MB, free: 3.535 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.000389/0.004184, allocations: 293.3 kB / 295.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.004213, allocations: 16.03 kB / 295.7 MB, free: 3.211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.004237, allocations: 4.938 kB / 295.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.00437, allocations: 137.6 kB / 295.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-06/0.004378, allocations: 4.312 kB / 295.8 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.004402, allocations: 4.375 kB / 295.8 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.737e-05/0.0045, allocations: 54.94 kB / 295.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.004509, allocations: 4.188 kB / 295.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.004517, allocations: 4.125 kB / 295.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.004522, allocations: 0 / 295.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.512e-05/0.004547, allocations: 11.94 kB / 295.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.004749, allocations: 171.1 kB / 296.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.004883, allocations: 29.41 kB / 296.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.004898, allocations: 8.938 kB / 296.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.004913, allocations: 4.062 kB / 296.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.004934, allocations: 38.5 kB / 296.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.004935, allocations: 0 / 296.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002438/0.005179, allocations: 81.47 kB / 296.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.005206, allocations: 55.41 kB / 296.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.005309, allocations: 156.2 kB / 296.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.00532, allocations: 29.7 kB / 296.5 MB, free: 2.316 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.005357, allocations: 92.11 kB / 296.5 MB, free: 2.223 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.005376, allocations: 11.84 kB / 296.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.005402, allocations: 21.7 kB / 296.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.005482, allocations: 322.8 kB / 296.9 MB, free: 1.859 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.005492, allocations: 4 kB / 296.9 MB, free: 1.855 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.041e-05/0.005503, allocations: 7.984 kB / 296.9 MB, free: 1.848 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.938e-05/0.005532, allocations: 23.66 kB / 296.9 MB, free: 1.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.005533, allocations: 0 / 296.9 MB, free: 1.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.891e-05/0.005632, allocations: 57.56 kB / 297 MB, free: 1.758 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.005645, allocations: 4 kB / 297 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.005649, allocations: 4 kB / 297 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.005659, allocations: 4 kB / 297 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.005722, allocations: 11.98 kB / 297 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.005725, allocations: 0 / 297 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.005743, allocations: 4 kB / 297 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.005747, allocations: 0 / 297 MB, free: 1.73 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 5.119e-05/0.005798, allocations: 108.7 kB / 297.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.005818, allocations: 12.2 kB / 297.1 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.948e-05/0.005907, allocations: 70.02 kB / 297.2 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.00591, allocations: 4.297 kB / 297.2 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.005911, allocations: 4 kB / 297.2 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.005915, allocations: 3.984 kB / 297.2 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.0061, allocations: 206.8 kB / 297.4 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006101, allocations: 4 kB / 297.4 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.514e-05/0.006136, allocations: 11.98 kB / 297.4 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-06/0.006144, allocations: 7.953 kB / 297.4 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.006146, allocations: 0 / 297.4 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.006152, allocations: 4 kB / 297.4 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.006153, allocations: 0 / 297.4 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.006155, allocations: 3.938 kB / 297.4 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.297e-05/0.006228, allocations: 151.5 kB / 297.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.709e-06/0.006237, allocations: 0 / 297.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.959e-05/0.006267, allocations: 8 kB / 297.6 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.006287, allocations: 3.984 kB / 297.6 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.006291, allocations: 4 kB / 297.6 MB, free: 1.078 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.354e-05/0.006325, allocations: 33.16 kB / 297.6 MB, free: 1.043 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006325, allocations: 0 / 297.6 MB, free: 1.043 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001276/0.006453, allocations: 19.95 kB / 297.7 MB, free: 1.023 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.001228/0.00768, allocations: 0.5408 MB / 298.2 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.474e-05/0.007755, allocations: 32.72 kB / 298.2 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.007761, allocations: 4 kB / 298.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.628e-05/0.007777, allocations: 12.86 kB / 298.2 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.007945, allocations: 26.92 kB / 298.3 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.008364, allocations: 187.1 kB / 298.5 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.847e-05/0.008402, allocations: 63.34 kB / 298.5 MB, free: 424 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.333e-05/0.008435, allocations: 16.23 kB / 298.5 MB, free: 408 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.008482, allocations: 59.31 kB / 298.6 MB, free: 348 kB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.008483, allocations: 3.938 kB / 298.6 MB, free: 344 kB / 282.7 MB Notification: Performance of Templates: time 0.002927/0.01141, allocations: 1.278 MB / 299.9 MB, free: 15.07 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.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.968931967392564]