Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.000919/0.000919, allocations: 80.92 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009688/0.0009688, allocations: 179.2 kB / 24.92 MB, free: 8.785 MB / 18.57 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.9487/0.9487, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.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.2782/0.2782, allocations: 34.26 MB / 296.1 MB, free: 0.6602 MB / 266.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,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.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 325.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.198e-05, allocations: 4.562 kB / 325.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.00249/0.002512, allocations: 1.686 MB / 327 MB, free: 5.898 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.00381, allocations: 1.29 MB / 328.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.68e-05/0.003867, allocations: 4 kB / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.004087, allocations: 31.72 kB / 328.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.004352, allocations: 75.62 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.004582, allocations: 119.5 kB / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.004717, allocations: 68.45 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.994e-05/0.004787, allocations: 8 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.134e-05/0.004848, allocations: 35.89 kB / 328.6 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.466e-05/0.004933, allocations: 23.92 kB / 328.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.004946, allocations: 4 kB / 328.6 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.005095, allocations: 99.81 kB / 328.7 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.355e-05/0.005128, allocations: 15.92 kB / 328.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.00515, allocations: 15.92 kB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.005318, allocations: 131.6 kB / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.00532, allocations: 0 / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005321, allocations: 0 / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.005324, allocations: 0 / 328.9 MB, free: 3.98 MB / 298.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.000287/0.005611, allocations: 309.5 kB / 329.2 MB, free: 3.656 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.005645, allocations: 8.031 kB / 329.2 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/0.00567, allocations: 8.938 kB / 329.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.005784, allocations: 129.7 kB / 329.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-06/0.005791, allocations: 384 / 329.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.005808, allocations: 8.375 kB / 329.4 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.228e-05/0.0059, allocations: 86.38 kB / 329.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.005907, allocations: 192 / 329.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.005914, allocations: 4.125 kB / 329.4 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.005919, allocations: 4 kB / 329.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.115e-05/0.00594, allocations: 15.92 kB / 329.5 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.006128, allocations: 167.1 kB / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.006235, allocations: 25.41 kB / 329.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.515e-05/0.00625, allocations: 16.95 kB / 329.7 MB, free: 3.117 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.006263, allocations: 3.984 kB / 329.7 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.006284, allocations: 42.56 kB / 329.7 MB, free: 3.062 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.006285, allocations: 0 / 329.7 MB, free: 3.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002232/0.006508, allocations: 85.95 kB / 329.8 MB, free: 2.973 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.006538, allocations: 81.11 kB / 329.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.842e-05/0.006627, allocations: 140.4 kB / 330 MB, free: 2.723 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.679e-06/0.006636, allocations: 25.7 kB / 330 MB, free: 2.691 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/0.006664, allocations: 92.09 kB / 330.1 MB, free: 2.598 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.006681, allocations: 19.81 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.006707, allocations: 21.66 kB / 330.2 MB, free: 2.551 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.341e-05/0.00678, allocations: 326.8 kB / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.006791, allocations: 8 kB / 330.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.62e-05/0.006817, allocations: 39.42 kB / 330.5 MB, free: 2.164 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.723e-05/0.006844, allocations: 23.67 kB / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.006845, allocations: 0 / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.364e-05/0.006899, allocations: 49.56 kB / 330.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.006913, allocations: 8 kB / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.006917, allocations: 0 / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.006926, allocations: 3.984 kB / 330.6 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.691e-05/0.006963, allocations: 12.03 kB / 330.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.006965, allocations: 0 / 330.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.238e-05/0.006987, allocations: 8.281 kB / 330.6 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.006992, allocations: 0 / 330.6 MB, free: 2.051 MB / 298.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.514e-05/0.007047, allocations: 120.6 kB / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.007065, allocations: 7.938 kB / 330.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.962e-05/0.007145, allocations: 66.06 kB / 330.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.007146, allocations: 0 / 330.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.007148, allocations: 0 / 330.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.00715, allocations: 0 / 330.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.007322, allocations: 211.1 kB / 331 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.007325, allocations: 4 kB / 331 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.77e-05/0.007352, allocations: 15.98 kB / 331.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.007354, allocations: 3.938 kB / 331.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.007358, allocations: 4 kB / 331.1 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.007359, allocations: 0 / 331.1 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.00736, allocations: 0 / 331.1 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.676e-05/0.007427, allocations: 139.5 kB / 331.2 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.007436, allocations: 15.88 kB / 331.2 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.007445, allocations: 0 / 331.2 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.15e-05/0.007477, allocations: 8 kB / 331.2 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.0075, allocations: 7.984 kB / 331.2 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.007503, allocations: 4 kB / 331.2 MB, free: 1.398 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.072e-05/0.007534, allocations: 33.69 kB / 331.3 MB, free: 1.363 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007534, allocations: 0 / 331.3 MB, free: 1.363 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000167/0.007701, allocations: 43.8 kB / 331.3 MB, free: 1.32 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 (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.001184/0.008885, allocations: 0.6289 MB / 331.9 MB, free: 1.008 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.806e-05/0.008953, allocations: 20.86 kB / 332 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.008957, allocations: 0 / 332 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.784e-05/0.008975, allocations: 20.84 kB / 332 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.009118, allocations: 31.61 kB / 332 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/0.009369, allocations: 166.5 kB / 332.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.154e-05/0.0094, allocations: 59.34 kB / 332.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.477e-05/0.009435, allocations: 11.98 kB / 332.2 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.435e-05/0.009499, allocations: 67.36 kB / 332.3 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.0095, allocations: 0 / 332.3 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of Templates: time 0.003396/0.0129, allocations: 2 MB / 334.3 MB, free: 14.6 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.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.814558398909867]