Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001262/0.001262, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001027/0.001027, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.9812/0.9812, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2313/0.2313, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.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.0.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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.35e-05, allocations: 6.25 kB / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.00221/0.002224, allocations: 2.019 MB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.003481, allocations: 0.9887 MB / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.003586, allocations: 4 kB / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.003945, allocations: 262.9 kB / 379.8 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.004343, allocations: 263 kB / 380 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006883/0.005031, allocations: 482.8 kB / 380.5 MB, free: 396 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003506/0.005382, allocations: 335 kB / 380.8 MB, free: 60 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.005522, allocations: 48.89 kB / 380.9 MB, free: 12 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.005706, allocations: 183.4 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.005879, allocations: 191.6 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.005902, allocations: 12 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.006022, allocations: 75.84 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.275e-05/0.006115, allocations: 95.61 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.489e-05/0.006159, allocations: 55.72 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.00645, allocations: 250.9 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.006452, allocations: 4 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.006453, allocations: 0 / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.006456, allocations: 0 / 381.7 MB, free: 15.16 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.0004834/0.00694, allocations: 0.697 MB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.006973, allocations: 15.98 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.007028, allocations: 56.61 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.007223, allocations: 266.8 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.007234, allocations: 4.375 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.007255, allocations: 20.33 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.007364, allocations: 86.92 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.007374, allocations: 4.172 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.007383, allocations: 8.125 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.007389, allocations: 0 / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.494e-05/0.007434, allocations: 36.5 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.007779, allocations: 407.9 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.007979, allocations: 71.02 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.205e-05/0.008001, allocations: 23.67 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.008026, allocations: 8 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.008044, allocations: 41.33 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 9.01e-07/0.008045, allocations: 0 / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004039/0.008449, allocations: 249.5 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.00847, allocations: 51.41 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.00874, allocations: 478.5 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.008751, allocations: 25.7 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.008867, allocations: 267.1 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.008901, allocations: 59.47 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.00894, allocations: 39.36 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.009069, allocations: 0.5351 MB / 385.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/0.009094, allocations: 27.83 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.563e-05/0.00912, allocations: 23.98 kB / 385.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.397e-05/0.009184, allocations: 61.7 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.009185, allocations: 0 / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001809/0.009366, allocations: 149.3 kB / 385.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.009378, allocations: 6.031 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.009383, allocations: 3.984 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.009394, allocations: 3.938 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.597e-05/0.00948, allocations: 35.92 kB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-06/0.009482, allocations: 0 / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.009515, allocations: 15.94 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.009522, allocations: 4 kB / 385.4 MB, free: 11.23 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 7.48e-05/0.009596, allocations: 164.5 kB / 385.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.009645, allocations: 51.7 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.009831, allocations: 165.6 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.009835, allocations: 11.92 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.009837, allocations: 0 / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.00984, allocations: 0 / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/0.01021, allocations: 485.7 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.01021, allocations: 7.938 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/0.01027, allocations: 35.98 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01027, allocations: 0 / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.01028, allocations: 7.984 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01028, allocations: 4 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01029, allocations: 3.938 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.01048, allocations: 306 kB / 386.7 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/0.0105, allocations: 31.7 kB / 386.7 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.01052, allocations: 4 kB / 386.7 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.726e-05/0.01056, allocations: 11.98 kB / 386.7 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.01059, allocations: 7.984 kB / 386.7 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.0106, allocations: 8 kB / 386.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004556/0.01105, allocations: 303 kB / 387 MB, free: 9.586 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01105, allocations: 0 / 387 MB, free: 9.586 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001988/0.01125, allocations: 51.92 kB / 387.1 MB, free: 9.535 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.001307/0.01256, allocations: 0.6507 MB / 387.7 MB, free: 9.164 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.01267, allocations: 90.5 kB / 387.8 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01267, allocations: 0 / 387.8 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.412e-05/0.01272, allocations: 51.59 kB / 387.9 MB, free: 9.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.01303, allocations: 98.94 kB / 387.9 MB, free: 8.926 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005592/0.01359, allocations: 0.569 MB / 388.5 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.147e-05/0.01365, allocations: 112.3 kB / 388.6 MB, free: 8.199 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.965e-05/0.01373, allocations: 45.89 kB / 388.7 MB, free: 8.156 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.01383, allocations: 118.2 kB / 388.8 MB, free: 8.039 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01383, allocations: 4 kB / 388.8 MB, free: 8.035 MB / 362.7 MB Notification: Performance of Templates: time 0.005298/0.01913, allocations: 3.693 MB / 392.5 MB, free: 4.391 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.872469163965434]