Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001339/0.001339, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009882/0.0009882, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.024/1.024, allocations: 177.1 MB / 205 MB, free: 5.652 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.2662/0.2662, allocations: 34.26 MB / 295.7 MB, free: 0.7617 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.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.91e-05, allocations: 2.312 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.00261/0.002639, allocations: 2.038 MB / 380.1 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.00392, allocations: 1.016 MB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.00403, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.00447, allocations: 266.9 kB / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004236/0.004893, allocations: 266.9 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007135/0.005607, allocations: 478.8 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003538/0.00596, allocations: 331.1 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.006167, allocations: 48.89 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.006373, allocations: 175.5 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.006621, allocations: 203.4 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.006657, allocations: 12 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.006838, allocations: 75.83 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.007023, allocations: 91.69 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.975e-05/0.007082, allocations: 59.66 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.00736, allocations: 246.9 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.007363, allocations: 0 / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.007364, allocations: 0 / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.00737, allocations: 4 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006494/0.008019, allocations: 0.6893 MB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.008061, allocations: 8.031 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.466e-05/0.008146, allocations: 56.61 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.008393, allocations: 266.8 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.008408, allocations: 8.375 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.008441, allocations: 20.27 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.008614, allocations: 94.92 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.008627, allocations: 4.172 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.008641, allocations: 8.125 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.008651, allocations: 11.98 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.503e-05/0.008716, allocations: 36.62 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.009217, allocations: 467.3 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.009324, allocations: 82.91 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.504e-05/0.009359, allocations: 23.67 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.009381, allocations: 4 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.009404, allocations: 37.39 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.009406, allocations: 4 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.000558/0.009964, allocations: 320.5 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.009993, allocations: 59.61 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.01032, allocations: 482.7 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.01034, allocations: 33.64 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.01046, allocations: 259.2 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.01049, allocations: 59.48 kB / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.01054, allocations: 39.36 kB / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.01069, allocations: 0.5274 MB / 386.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.194e-05/0.01073, allocations: 27.89 kB / 386.9 MB, free: 9.594 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.918e-05/0.01077, allocations: 31.97 kB / 386.9 MB, free: 9.562 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.73e-05/0.01087, allocations: 74.03 kB / 387 MB, free: 9.488 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.01087, allocations: 0 / 387 MB, free: 9.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001725/0.01104, allocations: 173.2 kB / 387.2 MB, free: 9.312 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.01106, allocations: 14.12 kB / 387.2 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01106, allocations: 0 / 387.2 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.01108, allocations: 0 / 387.2 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.01118, allocations: 31.98 kB / 387.2 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.01119, allocations: 4 kB / 387.2 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.042e-05/0.01122, allocations: 0 / 387.2 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.01123, allocations: 4 kB / 387.2 MB, free: 9.262 MB / 362.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 (17): * Single equations (assignments): 17 * 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 8.798e-05/0.01132, allocations: 176.4 kB / 387.4 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.01136, allocations: 43.72 kB / 387.4 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.01159, allocations: 189.6 kB / 387.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01159, allocations: 0 / 387.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.01159, allocations: 0 / 387.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.0116, allocations: 0 / 387.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004435/0.01204, allocations: 0.5557 MB / 388.2 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01204, allocations: 0 / 388.2 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.207e-05/0.0121, allocations: 35.92 kB / 388.2 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01211, allocations: 0 / 388.2 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.01211, allocations: 7.984 kB / 388.2 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.01212, allocations: 4 kB / 388.2 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01212, allocations: 4 kB / 388.2 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.01232, allocations: 318 kB / 388.5 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.01234, allocations: 31.7 kB / 388.6 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.01235, allocations: 11.94 kB / 388.6 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.954e-05/0.01239, allocations: 0 / 388.6 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.01243, allocations: 11.98 kB / 388.6 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.01244, allocations: 11.98 kB / 388.6 MB, free: 7.797 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002033/0.01264, allocations: 319.1 kB / 388.9 MB, free: 7.488 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01264, allocations: 0 / 388.9 MB, free: 7.488 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002153/0.01286, allocations: 55.88 kB / 389 MB, free: 7.434 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 (17): * Single equations (assignments): 17 * 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.00154/0.0144, allocations: 0.6624 MB / 389.6 MB, free: 7.055 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.01457, allocations: 95.48 kB / 389.7 MB, free: 6.957 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01457, allocations: 0 / 389.7 MB, free: 6.957 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.269e-05/0.01462, allocations: 51.61 kB / 389.8 MB, free: 6.902 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.01495, allocations: 101.8 kB / 389.9 MB, free: 6.812 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006429/0.01559, allocations: 0.5862 MB / 390.5 MB, free: 6.195 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.497e-05/0.01567, allocations: 116.3 kB / 390.6 MB, free: 6.062 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.279e-05/0.01575, allocations: 37.91 kB / 390.6 MB, free: 6.027 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.0158, allocations: 36.48 kB / 390.6 MB, free: 5.992 MB / 362.7 MB Notification: Performance of SimCode: time 9.11e-07/0.0158, allocations: 0 / 390.6 MB, free: 5.992 MB / 362.7 MB Notification: Performance of Templates: time 0.005744/0.02155, allocations: 3.63 MB / 394.3 MB, free: 2.402 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.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.2064428622834384]