Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009936/0.0009936, allocations: 110.4 kB / 17.78 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009949/0.0009949, allocations: 187 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.185/0.185, allocations: 44.19 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 59.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2942, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002285/0.2966, allocations: 1.578 MB / 0.5205 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005782/0.2971, allocations: 435.8 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.2972, allocations: 0 / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005345/0.2977, allocations: 450.6 kB / 0.5213 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.2981, allocations: 253.5 kB / 0.5215 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.2984, allocations: 168.1 kB / 0.5217 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.2986, allocations: 158.7 kB / 0.5218 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.632e-05/0.2987, allocations: 12.94 kB / 0.5219 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.2989, allocations: 111.1 kB / 0.522 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.2991, allocations: 201.4 kB / 0.5222 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.2991, allocations: 2.281 kB / 0.5222 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.16e-05/0.2992, allocations: 28.25 kB / 0.5222 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.195e-05/0.2992, allocations: 82.22 kB / 0.5223 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.2993, allocations: 103.5 kB / 0.5224 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.2995, allocations: 237.7 kB / 0.5226 GB, free: 1.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2996, allocations: 5.062 kB / 0.5226 GB, free: 1.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2996, allocations: 4 kB / 0.5226 GB, free: 1.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.2996, allocations: 3.938 kB / 0.5226 GB, free: 1.797 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005203/0.3001, allocations: 0.615 MB / 0.5232 GB, free: 1.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.3001, allocations: 8.688 kB / 0.5232 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.362e-05/0.3002, allocations: 42.53 kB / 0.5233 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.3004, allocations: 293.7 kB / 0.5235 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-06/0.3004, allocations: 1.406 kB / 0.5235 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.3004, allocations: 5.953 kB / 0.5235 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.3006, allocations: 58.31 kB / 0.5236 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.3006, allocations: 1.125 kB / 0.5236 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.3006, allocations: 0 / 0.5236 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3006, allocations: 1.125 kB / 0.5236 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.377e-05/0.3007, allocations: 23.75 kB / 0.5236 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.3011, allocations: 388 kB / 0.524 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.027e-05/0.3012, allocations: 39.14 kB / 0.524 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.3012, allocations: 13.17 kB / 0.524 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.3013, allocations: 2.141 kB / 0.524 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.849e-06/0.3013, allocations: 32.03 kB / 0.5241 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3013, allocations: 0 / 0.5241 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002141/0.3015, allocations: 99.22 kB / 0.5242 GB, free: 448 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.583e-05/0.3015, allocations: 59.98 kB / 0.5242 GB, free: 376 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006875/0.3022, allocations: 0.8593 MB / 0.5251 GB, free: 48 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.154e-06/0.3022, allocations: 27.83 kB / 0.5251 GB, free: 16 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.3024, allocations: 221.5 kB / 0.5253 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.3024, allocations: 9.984 kB / 0.5253 GB, free: 15.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.3025, allocations: 13.12 kB / 0.5253 GB, free: 15.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3026, allocations: 360.7 kB / 0.5257 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.3027, allocations: 16.31 kB / 0.5257 GB, free: 15.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.238e-05/0.3027, allocations: 12.7 kB / 0.5257 GB, free: 15.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.221e-05/0.3028, allocations: 33.02 kB / 0.5257 GB, free: 15.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3028, allocations: 1.375 kB / 0.5257 GB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001289/0.3029, allocations: 90.16 kB / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.3029, allocations: 5.5 kB / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.3029, allocations: 0 / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.303, allocations: 96 / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.804e-05/0.303, allocations: 12.11 kB / 0.5258 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.303, allocations: 1.375 kB / 0.5258 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.191e-05/0.3031, allocations: 1.375 kB / 0.5258 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.3031, allocations: 5.359 kB / 0.5258 GB, free: 15.38 MB / 398.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 (2): * Single equations (assignments): 2 * 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.0001567/0.3033, allocations: 213.6 kB / 0.526 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.3033, allocations: 40.75 kB / 0.5261 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.3035, allocations: 108.6 kB / 0.5262 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3035, allocations: 5.438 kB / 0.5262 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3035, allocations: 3.938 kB / 0.5262 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.3035, allocations: 0 / 0.5262 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.3038, allocations: 283.3 kB / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3038, allocations: 3.938 kB / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/0.3038, allocations: 4.719 kB / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3038, allocations: 0 / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.3039, allocations: 5.969 kB / 0.5265 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3039, allocations: 3.984 kB / 0.5265 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3039, allocations: 3.984 kB / 0.5265 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.304, allocations: 194 kB / 0.5267 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-05/0.3041, allocations: 104.8 kB / 0.5268 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.3042, allocations: 1.375 kB / 0.5268 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.3042, allocations: 5.453 kB / 0.5268 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.3043, allocations: 1.5 kB / 0.5268 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.3043, allocations: 0 / 0.5268 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005486/0.3048, allocations: 0.6521 MB / 0.5274 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3048, allocations: 0 / 0.5274 GB, free: 14.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.3051, allocations: 22.05 kB / 0.5274 GB, free: 14.23 MB / 398.1 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 (2): * Single equations (assignments): 2 * 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.0006968/0.3058, allocations: 357.9 kB / 0.5278 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.3059, allocations: 21.95 kB / 0.5278 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3059, allocations: 1.562 kB / 0.5278 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.217e-05/0.306, allocations: 11.52 kB / 0.5278 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.3063, allocations: 28.52 kB / 0.5278 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008874/0.3072, allocations: 0.7664 MB / 0.5286 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3076, allocations: 0.8259 MB / 0.5294 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.251e-05/0.3076, allocations: 14.3 kB / 0.5294 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.3076, allocations: 11.06 kB / 0.5294 GB, free: 12.83 MB / 398.1 MB Notification: Performance of SimCode: time 1.423e-06/0.3077, allocations: 3.938 kB / 0.5294 GB, free: 12.82 MB / 398.1 MB Notification: Performance of Templates: time 0.003989/0.3116, allocations: 1.29 MB / 0.5307 GB, free: 12.18 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches