Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.002525/0.002525, allocations: 87.67 kB / 20.96 MB, free: 3.445 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.002962/0.002962, allocations: 161.3 kB / 24.27 MB, free: 136 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.571/1.571, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3394/0.3394, allocations: 32.79 MB / 293.9 MB, free: 1.188 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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.23e-05, allocations: 2.312 kB / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003283/0.003316, allocations: 1.63 MB / 376.9 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.004557, allocations: 0.5376 MB / 377.5 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.073e-05/0.004618, allocations: 0 / 377.5 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004016/0.005019, allocations: 123.6 kB / 377.6 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.00537, allocations: 135.4 kB / 377.7 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.005682, allocations: 111.7 kB / 377.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.005896, allocations: 103.7 kB / 377.9 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.453e-05/0.005991, allocations: 15.97 kB / 377.9 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.006093, allocations: 47.89 kB / 378 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.006251, allocations: 95.8 kB / 378.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.006273, allocations: 8 kB / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.849e-05/0.006372, allocations: 43.92 kB / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.605e-05/0.006438, allocations: 27.86 kB / 378.1 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.006478, allocations: 19.92 kB / 378.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.006719, allocations: 119.5 kB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.006721, allocations: 4 kB / 378.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.006723, allocations: 0 / 378.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.006728, allocations: 0 / 378.3 MB, free: 1.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006461/0.007374, allocations: 471.4 kB / 378.7 MB, free: 1.434 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.007412, allocations: 8.031 kB / 378.8 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.007466, allocations: 24.83 kB / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.007731, allocations: 156.3 kB / 378.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.007744, allocations: 4.375 kB / 378.9 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.007763, allocations: 384 / 378.9 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.007905, allocations: 50.25 kB / 379 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.007917, allocations: 192 / 379 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.007929, allocations: 4.125 kB / 379 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.007933, allocations: 4 kB / 379 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.279e-05/0.008026, allocations: 23.97 kB / 379 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.008526, allocations: 319.7 kB / 379.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.008662, allocations: 51.05 kB / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.935e-05/0.008731, allocations: 19.62 kB / 379.4 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.008762, allocations: 7.938 kB / 379.4 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.008807, allocations: 37.47 kB / 379.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.008808, allocations: 0 / 379.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009017/0.00971, allocations: 209.2 kB / 379.6 MB, free: 444 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.009756, allocations: 51.41 kB / 379.7 MB, free: 380 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.01007, allocations: 298.8 kB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.0101, allocations: 25.7 kB / 380 MB, free: 28 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.01025, allocations: 174.8 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.01029, allocations: 31.73 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/0.01034, allocations: 27.38 kB / 380.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003242/0.01067, allocations: 0.5079 MB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.915e-05/0.01074, allocations: 19.98 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-05/0.0108, allocations: 19.98 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.01093, allocations: 59.89 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.01094, allocations: 4 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002051/0.01114, allocations: 97.5 kB / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.01115, allocations: 4 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.01116, allocations: 0 / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.01118, allocations: 4 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/0.01127, allocations: 19.98 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.01128, allocations: 0 / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.368e-05/0.01131, allocations: 0 / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.01132, allocations: 4 kB / 381 MB, free: 15.03 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 (8): * Single equations (assignments): 8 * 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.0004003/0.01172, allocations: 168.5 kB / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.01176, allocations: 15.91 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.01204, allocations: 111 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.01204, allocations: 4.422 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.01204, allocations: 0 / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01205, allocations: 0 / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006137/0.01266, allocations: 421 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.01266, allocations: 4 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-05/0.01274, allocations: 19.97 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.01274, allocations: 3.984 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.01275, allocations: 7.984 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.01276, allocations: 4 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01276, allocations: 0 / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.01307, allocations: 255.4 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.01309, allocations: 11.91 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.01311, allocations: 0 / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.01318, allocations: 8 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.01322, allocations: 11.92 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.01323, allocations: 4 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002018/0.01343, allocations: 204.1 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01343, allocations: 0 / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002437/0.01367, allocations: 19.94 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00328/0.01695, allocations: 497.5 kB / 382.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.01718, allocations: 63.53 kB / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01718, allocations: 0 / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.284e-05/0.01727, allocations: 43.59 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.01761, allocations: 27.94 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005929/0.01821, allocations: 279.2 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.01834, allocations: 101.1 kB / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.442e-05/0.01841, allocations: 16.7 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.01845, allocations: 20.5 kB / 383.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01845, allocations: 0 / 383.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of Templates: time 0.004966/0.02342, allocations: 1.421 MB / 384.7 MB, free: 11.4 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.977880573016591]