Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001374/0.001374, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.001475/0.001475, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 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.474/1.474, allocations: 177.2 MB / 204.9 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] 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.2173/0.2173, allocations: 34.27 MB / 295.5 MB, free: 14.58 MB / 286.1 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.CombiTable1Ds.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 71.89 kB / 443.2 MB, free: 6.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3998, allocations: 65.99 MB / 0.4972 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002475/0.4022, allocations: 1.623 MB / 0.4988 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008051/0.4031, allocations: 0.526 MB / 0.4993 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.4031, allocations: 0 / 0.4993 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.4034, allocations: 122.3 kB / 0.4995 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.4037, allocations: 129.7 kB / 0.4996 GB, free: 28.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.4039, allocations: 90.62 kB / 0.4997 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.4041, allocations: 101.5 kB / 0.4998 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.4042, allocations: 18.42 kB / 0.4998 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.29e-05/0.4043, allocations: 44.86 kB / 0.4998 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.4044, allocations: 89 kB / 0.4999 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.4044, allocations: 3.031 kB / 0.4999 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.429e-05/0.4045, allocations: 47.89 kB / 0.5 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.4045, allocations: 28.64 kB / 0.5 GB, free: 28.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.4046, allocations: 26.28 kB / 0.5 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.4048, allocations: 127.8 kB / 0.5001 GB, free: 28.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4048, allocations: 0 / 0.5001 GB, free: 28.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4048, allocations: 4 kB / 0.5001 GB, free: 28.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.4048, allocations: 0 / 0.5001 GB, free: 28.16 MB / 446.1 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.0004186/0.4052, allocations: 368.4 kB / 0.5005 GB, free: 27.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.4052, allocations: 13.22 kB / 0.5005 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.4053, allocations: 15.34 kB / 0.5005 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.4054, allocations: 161.7 kB / 0.5007 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.4054, allocations: 3.625 kB / 0.5007 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.4055, allocations: 384 / 0.5007 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.4056, allocations: 57.5 kB / 0.5007 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.4056, allocations: 3.281 kB / 0.5007 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.4056, allocations: 7.984 kB / 0.5007 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4056, allocations: 3.938 kB / 0.5007 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.616e-05/0.4057, allocations: 27.09 kB / 0.5008 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.406, allocations: 246.8 kB / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.237e-05/0.4061, allocations: 37.3 kB / 0.501 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.605e-05/0.4061, allocations: 22.8 kB / 0.5011 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.4062, allocations: 0 / 0.5011 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.4062, allocations: 33.84 kB / 0.5011 GB, free: 27.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.4062, allocations: 0 / 0.5011 GB, free: 27.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008329/0.407, allocations: 249.7 kB / 0.5013 GB, free: 27.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.407, allocations: 51.41 kB / 0.5014 GB, free: 27.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.4072, allocations: 274 kB / 0.5016 GB, free: 26.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.4072, allocations: 25.7 kB / 0.5017 GB, free: 26.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.4073, allocations: 117.2 kB / 0.5018 GB, free: 26.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.4073, allocations: 30.42 kB / 0.5018 GB, free: 26.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.4073, allocations: 20 kB / 0.5018 GB, free: 26.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.995e-05/0.4074, allocations: 332.5 kB / 0.5021 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/0.4074, allocations: 23.47 kB / 0.5022 GB, free: 26.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.959e-05/0.4075, allocations: 27.59 kB / 0.5022 GB, free: 26.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.4076, allocations: 59.19 kB / 0.5023 GB, free: 26.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4076, allocations: 0 / 0.5023 GB, free: 26.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001713/0.4078, allocations: 108.4 kB / 0.5024 GB, free: 26.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.4078, allocations: 6.281 kB / 0.5024 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.4078, allocations: 0 / 0.5024 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.4078, allocations: 3.938 kB / 0.5024 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.772e-05/0.4079, allocations: 20.22 kB / 0.5024 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.4079, allocations: 3.219 kB / 0.5024 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/0.408, allocations: 6.547 kB / 0.5024 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.408, allocations: 3.938 kB / 0.5024 GB, free: 26.35 MB / 446.1 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 6.201e-05/0.408, allocations: 139.7 kB / 0.5025 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.4081, allocations: 14.66 kB / 0.5025 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.4083, allocations: 128.7 kB / 0.5027 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4083, allocations: 0 / 0.5027 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4083, allocations: 0 / 0.5027 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4083, allocations: 4 kB / 0.5027 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.4087, allocations: 362.5 kB / 0.503 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4087, allocations: 0 / 0.503 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.347e-05/0.4087, allocations: 22.66 kB / 0.503 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4087, allocations: 0 / 0.503 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.4087, allocations: 2.906 kB / 0.503 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4087, allocations: 3.938 kB / 0.503 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4087, allocations: 0 / 0.503 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.4089, allocations: 209 kB / 0.5032 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.4089, allocations: 15.27 kB / 0.5033 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.409, allocations: 7.188 kB / 0.5033 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.349e-05/0.409, allocations: 11.09 kB / 0.5033 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.4091, allocations: 6.656 kB / 0.5033 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.4091, allocations: 0 / 0.5033 GB, free: 25.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.4092, allocations: 218.4 kB / 0.5035 GB, free: 25.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4092, allocations: 0 / 0.5035 GB, free: 25.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.4094, allocations: 23.34 kB / 0.5035 GB, free: 25.53 MB / 446.1 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.001743/0.4112, allocations: 492.2 kB / 0.504 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.4114, allocations: 62.7 kB / 0.504 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4114, allocations: 0 / 0.504 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.546e-05/0.4115, allocations: 33.89 kB / 0.5041 GB, free: 25.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.4118, allocations: 30.58 kB / 0.5041 GB, free: 25.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.4122, allocations: 313.1 kB / 0.5044 GB, free: 25.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.26e-05/0.4123, allocations: 103.3 kB / 0.5045 GB, free: 25.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.102e-05/0.4123, allocations: 11.09 kB / 0.5045 GB, free: 25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.4124, allocations: 18.56 kB / 0.5045 GB, free: 24.99 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4124, allocations: 3 kB / 0.5045 GB, free: 24.99 MB / 446.1 MB Notification: Performance of Templates: time 0.003676/0.416, allocations: 1.358 MB / 0.5059 GB, free: 24.79 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.997775404015556]