Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001149/0.001149, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001278/0.001278, allocations: 164.5 kB / 25.61 MB, free: 8.895 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.9538/0.9538, allocations: 177.2 MB / 206.1 MB, free: 4.488 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.1338/0.1338, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.53e-05, allocations: 6.25 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.00187/0.001885, allocations: 1.685 MB / 379 MB, free: 23.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004428/0.002328, allocations: 0.8065 MB / 379.8 MB, free: 23.08 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.531e-05/0.002364, allocations: 0 / 379.8 MB, free: 23.08 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.002566, allocations: 27.84 kB / 379.8 MB, free: 23.05 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.002731, allocations: 39.77 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.985e-06/0.002734, allocations: 0 / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.002848, allocations: 43.77 kB / 379.9 MB, free: 22.97 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.17e-05/0.00288, allocations: 3.938 kB / 379.9 MB, free: 22.97 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.885e-05/0.002948, allocations: 23.92 kB / 379.9 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.068e-05/0.002969, allocations: 11.97 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.857e-06/0.002978, allocations: 4 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.571e-05/0.003014, allocations: 8 kB / 379.9 MB, free: 22.92 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.003048, allocations: 19.92 kB / 379.9 MB, free: 22.9 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.431e-05/0.003063, allocations: 7.938 kB / 380 MB, free: 22.89 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 9.482e-05/0.003157, allocations: 47.83 kB / 380 MB, free: 22.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.00316, allocations: 0 / 380 MB, free: 22.85 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.61e-07/0.00316, allocations: 0 / 380 MB, free: 22.85 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.003163, allocations: 0 / 380 MB, free: 22.85 MB / 314.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.0002047/0.003368, allocations: 408.2 kB / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.003398, allocations: 11.98 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.003421, allocations: 12.83 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.408e-05/0.003506, allocations: 116.6 kB / 380.5 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-06/0.003513, allocations: 4.375 kB / 380.5 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.00352, allocations: 8.359 kB / 380.5 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.986e-05/0.0036, allocations: 116.3 kB / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.003606, allocations: 4.188 kB / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.003613, allocations: 384 / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/0.003651, allocations: 24.36 kB / 380.7 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.239e-05/0.003673, allocations: 31.8 kB / 380.7 MB, free: 22.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.003946, allocations: 1.177 MB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.428e-05/0.00399, allocations: 265.4 kB / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.004006, allocations: 130.9 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.004018, allocations: 119.2 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.004038, allocations: 152.6 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.004038, allocations: 4 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 4.339e-05/0.004082, allocations: 37.59 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.004109, allocations: 178.5 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.182e-05/0.004201, allocations: 246.3 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-06/0.004205, allocations: 25.7 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.004255, allocations: 202.3 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.004257, allocations: 4 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.00429, allocations: 51.31 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.698e-05/0.004337, allocations: 0.4962 MB / 383.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/0.004349, allocations: 11.98 kB / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.251e-05/0.004401, allocations: 195.5 kB / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.041e-05/0.004492, allocations: 229.5 kB / 384.2 MB, free: 18.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.004494, allocations: 4 kB / 384.2 MB, free: 18.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001449/0.004639, allocations: 157.5 kB / 384.4 MB, free: 18.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.00465, allocations: 8 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.004655, allocations: 4 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.004665, allocations: 8 kB / 384.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.952e-05/0.004734, allocations: 35.92 kB / 384.4 MB, free: 18.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.004741, allocations: 19.8 kB / 384.4 MB, free: 17.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.482e-05/0.004785, allocations: 27.78 kB / 384.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.004793, allocations: 8 kB / 384.5 MB, free: 17.95 MB / 314.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 5.02e-05/0.004844, allocations: 299.9 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.004871, allocations: 152.8 kB / 384.9 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.004899, allocations: 160.7 kB / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/0.004919, allocations: 268 kB / 385.3 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.058e-05/0.00494, allocations: 272 kB / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/0.00496, allocations: 268 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.33e-05/0.005053, allocations: 0.4889 MB / 386.3 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.005066, allocations: 144.9 kB / 386.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.221e-05/0.005078, allocations: 148.8 kB / 386.6 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.071e-05/0.005099, allocations: 268.1 kB / 386.9 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.00512, allocations: 276 kB / 387.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.942e-05/0.00514, allocations: 268.1 kB / 387.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.322e-05/0.005163, allocations: 276 kB / 387.7 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.508e-05/0.005228, allocations: 451.9 kB / 388.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.005256, allocations: 152.8 kB / 388.3 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/0.005287, allocations: 272.1 kB / 388.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.005322, allocations: 148.8 kB / 388.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.005346, allocations: 272.1 kB / 389 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.005358, allocations: 148.9 kB / 389.1 MB, free: 13.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.744e-05/0.005396, allocations: 153.3 kB / 389.3 MB, free: 12.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005396, allocations: 0 / 389.3 MB, free: 12.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000172/0.005568, allocations: 15.94 kB / 389.3 MB, free: 12.96 MB / 314.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.0003285/0.005896, allocations: 323.6 kB / 389.6 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.587e-05/0.005972, allocations: 63.45 kB / 389.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.005973, allocations: 0 / 389.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.005974, allocations: 5.25 kB / 389.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.006166, allocations: 0.7062 MB / 390.4 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001809/0.006347, allocations: 277.7 kB / 390.6 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.605e-05/0.006373, allocations: 71.7 kB / 390.7 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.888e-05/0.006422, allocations: 9.141 kB / 390.7 MB, free: 11.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.006451, allocations: 86.19 kB / 390.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.006451, allocations: 3.938 kB / 390.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of Templates: time 0.001965/0.008417, allocations: 0.7772 MB / 391.6 MB, free: 10.65 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.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.0648320969194174]