Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.0009321/0.0009321, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009478/0.0009478, allocations: 170.5 kB / 24.91 MB, free: 8.68 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.9725/0.9725, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2596/0.2596, allocations: 34.26 MB / 296.1 MB, free: 0.7305 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.CombiTable1Ds.Test19,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.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.CombiTable1Ds.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.624e-05, allocations: 2.312 kB / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002174/0.00219, allocations: 1.687 MB / 327 MB, free: 5.926 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.003384, allocations: 1.278 MB / 328.3 MB, free: 4.641 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.00344, allocations: 0 / 328.3 MB, free: 4.641 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.003649, allocations: 31.78 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.003894, allocations: 87.48 kB / 328.4 MB, free: 4.523 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.004081, allocations: 83.72 kB / 328.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.004198, allocations: 76.31 kB / 328.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.011e-05/0.004268, allocations: 8 kB / 328.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.337e-05/0.004321, allocations: 39.89 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.106e-05/0.004403, allocations: 19.92 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.004415, allocations: 4 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.004552, allocations: 91.88 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.446e-05/0.004586, allocations: 15.92 kB / 328.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.004608, allocations: 19.92 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.004775, allocations: 139.5 kB / 328.9 MB, free: 4.035 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.004777, allocations: 0 / 328.9 MB, free: 4.035 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004778, allocations: 0 / 328.9 MB, free: 4.035 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.004781, allocations: 0 / 328.9 MB, free: 4.035 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.000261/0.005042, allocations: 301.7 kB / 329.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.614e-05/0.005068, allocations: 8.031 kB / 329.2 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.45e-05/0.005092, allocations: 4.938 kB / 329.2 MB, free: 3.707 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.005205, allocations: 132.8 kB / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.005212, allocations: 8.375 kB / 329.3 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.005228, allocations: 4.359 kB / 329.3 MB, free: 3.543 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.906e-05/0.005317, allocations: 94.38 kB / 329.4 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.005324, allocations: 192 / 329.4 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.005331, allocations: 8.125 kB / 329.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.005334, allocations: 0 / 329.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.799e-05/0.005352, allocations: 7.984 kB / 329.4 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.005526, allocations: 163 kB / 329.6 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.85e-05/0.005624, allocations: 34.56 kB / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.178e-05/0.005636, allocations: 8.859 kB / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.005648, allocations: 4.062 kB / 329.6 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.005664, allocations: 30.56 kB / 329.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 6.72e-07/0.005665, allocations: 4 kB / 329.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002167/0.005882, allocations: 86.06 kB / 329.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.005909, allocations: 77.11 kB / 329.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.432e-05/0.005994, allocations: 146.5 kB / 330 MB, free: 2.797 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.006002, allocations: 29.7 kB / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.006031, allocations: 92.08 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.00605, allocations: 19.83 kB / 330.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.006077, allocations: 25.64 kB / 330.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.637e-05/0.006144, allocations: 318.8 kB / 330.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-06/0.006152, allocations: 0 / 330.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.656e-05/0.006178, allocations: 51.59 kB / 330.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.46e-05/0.006203, allocations: 24.78 kB / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.006204, allocations: 0 / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.022e-05/0.006254, allocations: 49.91 kB / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.006264, allocations: 4 kB / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.006267, allocations: 0 / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.006275, allocations: 0 / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.606e-05/0.006311, allocations: 23.92 kB / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.006314, allocations: 0 / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.006331, allocations: 3.984 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.006335, allocations: 4 kB / 330.6 MB, free: 2.117 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.071e-05/0.006386, allocations: 112.7 kB / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.006405, allocations: 11.92 kB / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.098e-05/0.006476, allocations: 54.16 kB / 330.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.006478, allocations: 4 kB / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.006479, allocations: 0 / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.006481, allocations: 0 / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.00664, allocations: 210.8 kB / 331 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.006642, allocations: 3.938 kB / 331 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.648e-05/0.006669, allocations: 11.98 kB / 331 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.006671, allocations: 8 kB / 331 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-06/0.006675, allocations: 192 / 331 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.006677, allocations: 4 kB / 331 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.006677, allocations: 0 / 331 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.583e-05/0.006743, allocations: 147.5 kB / 331.2 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-06/0.006752, allocations: 15.89 kB / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.006761, allocations: 0 / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.27e-05/0.006794, allocations: 8 kB / 331.2 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.006812, allocations: 3.984 kB / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-06/0.006814, allocations: 0 / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.948e-05/0.006843, allocations: 34 kB / 331.2 MB, free: 1.441 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.006843, allocations: 4 kB / 331.2 MB, free: 1.438 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001524/0.006996, allocations: 39.86 kB / 331.3 MB, free: 1.398 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.001179/0.008175, allocations: 0.631 MB / 331.9 MB, free: 1.082 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.839e-05/0.008243, allocations: 28.78 kB / 331.9 MB, free: 1.051 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.008246, allocations: 0 / 331.9 MB, free: 1.051 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.504e-05/0.008261, allocations: 12.86 kB / 331.9 MB, free: 1.035 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.008406, allocations: 23.92 kB / 332 MB, free: 1.012 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/0.00864, allocations: 166.5 kB / 332.1 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.16e-05/0.008672, allocations: 61.78 kB / 332.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.375e-05/0.008706, allocations: 11.98 kB / 332.2 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.008763, allocations: 63.36 kB / 332.3 MB, free: 0.668 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008763, allocations: 0 / 332.3 MB, free: 0.668 MB / 298.7 MB Notification: Performance of Templates: time 0.003053/0.01182, allocations: 1.995 MB / 334.2 MB, free: 14.69 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.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.9426710070110857]