Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.0009721/0.0009721, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001022/0.001022, allocations: 169 kB / 24.99 MB, free: 8.789 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 1.099/1.099, allocations: 177.1 MB / 205.3 MB, free: 5.602 MB / 186.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.2908/0.2908, allocations: 32.8 MB / 294.6 MB, free: 1.273 MB / 266.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.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 376 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.349e-05, allocations: 2.312 kB / 376 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002821/0.002854, allocations: 1.704 MB / 377.7 MB, free: 3.242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009424/0.003797, allocations: 0.7986 MB / 378.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.003852, allocations: 0 / 378.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.004182, allocations: 23.86 kB / 378.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.004455, allocations: 51.69 kB / 378.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.62e-06/0.00446, allocations: 0 / 378.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.004633, allocations: 35.84 kB / 378.6 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.004673, allocations: 7.984 kB / 378.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.966e-05/0.004712, allocations: 11.98 kB / 378.6 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.394e-05/0.004766, allocations: 11.92 kB / 378.7 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.004779, allocations: 4 kB / 378.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.797e-05/0.004827, allocations: 15.98 kB / 378.7 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.004873, allocations: 11.94 kB / 378.7 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.004894, allocations: 8 kB / 378.7 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.005032, allocations: 59.64 kB / 378.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005035, allocations: 0 / 378.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005036, allocations: 0 / 378.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.005041, allocations: 4 kB / 378.8 MB, free: 2.199 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003623/0.005403, allocations: 392.3 kB / 379.1 MB, free: 1.777 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.005444, allocations: 8.031 kB / 379.1 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.005491, allocations: 16.88 kB / 379.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.005643, allocations: 112.6 kB / 379.3 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.005659, allocations: 384 / 379.3 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.005671, allocations: 8.359 kB / 379.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.005815, allocations: 108.3 kB / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.005826, allocations: 4.172 kB / 379.4 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.005835, allocations: 384 / 379.4 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-05/0.005882, allocations: 28.3 kB / 379.4 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.681e-05/0.005919, allocations: 31.86 kB / 379.4 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005925/0.006511, allocations: 1.204 MB / 380.7 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.006622, allocations: 261.4 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.006666, allocations: 126.9 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.006696, allocations: 119.2 kB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.595e-05/0.006752, allocations: 164.6 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.006753, allocations: 96 / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.528e-05/0.006839, allocations: 41.53 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.006907, allocations: 174.5 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.007089, allocations: 251 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.007097, allocations: 29.7 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.864e-05/0.007196, allocations: 202.2 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.549e-06/0.007201, allocations: 4 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.00725, allocations: 51.31 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.007383, allocations: 0.4962 MB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.007405, allocations: 12 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.007531, allocations: 197.7 kB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.007711, allocations: 225.5 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.007714, allocations: 0 / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002274/0.007942, allocations: 173.4 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.007956, allocations: 4 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.007963, allocations: 8 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.00798, allocations: 7.938 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.47e-05/0.008074, allocations: 35.92 kB / 383.2 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.008085, allocations: 11.94 kB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.929e-05/0.008144, allocations: 27.78 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.008155, allocations: 12 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001018/0.008256, allocations: 296 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/0.008313, allocations: 156.8 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.268e-05/0.008365, allocations: 156.6 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-05/0.008434, allocations: 268 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-05/0.008502, allocations: 272.2 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.746e-05/0.008569, allocations: 276 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.008769, allocations: 0.5116 MB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.004e-05/0.008809, allocations: 152.8 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.008848, allocations: 144.9 kB / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-05/0.008917, allocations: 268 kB / 385.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.268e-05/0.00899, allocations: 272.1 kB / 386 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.759e-05/0.009057, allocations: 268.1 kB / 386.2 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-05/0.009126, allocations: 272 kB / 386.5 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.009285, allocations: 455.9 kB / 386.9 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.009334, allocations: 152.8 kB / 387.1 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.092e-05/0.009415, allocations: 272.1 kB / 387.4 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.988e-05/0.009475, allocations: 152.8 kB / 387.5 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.009543, allocations: 272 kB / 387.8 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.00958, allocations: 152.8 kB / 387.9 MB, free: 8.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.319e-05/0.009663, allocations: 159.3 kB / 388.1 MB, free: 8.254 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009663, allocations: 0 / 388.1 MB, free: 8.254 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000204/0.009867, allocations: 20 kB / 388.1 MB, free: 8.234 MB / 362.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 (0): * Single equations (assignments): 0 * 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.0004975/0.01036, allocations: 308.1 kB / 388.4 MB, free: 7.969 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.01051, allocations: 71.47 kB / 388.5 MB, free: 7.895 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01051, allocations: 0 / 388.5 MB, free: 7.895 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.01051, allocations: 1.25 kB / 388.5 MB, free: 7.895 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.01083, allocations: 0.7101 MB / 389.2 MB, free: 7.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.01119, allocations: 283.8 kB / 389.4 MB, free: 6.871 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.935e-05/0.01124, allocations: 71.83 kB / 389.5 MB, free: 6.781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.01134, allocations: 45.08 kB / 389.6 MB, free: 6.738 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.01137, allocations: 24.42 kB / 389.6 MB, free: 6.715 MB / 362.7 MB Notification: Performance of SimCode: time 1.302e-06/0.01138, allocations: 0 / 389.6 MB, free: 6.715 MB / 362.7 MB Notification: Performance of Templates: time 0.002579/0.01395, allocations: 0.7213 MB / 390.3 MB, free: 6.004 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.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: 3.245231624925509]