Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001632/0.001633, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.414/1.414, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2292/0.2292, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 56.14 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3876, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.00347/0.3911, allocations: 1.612 MB / 0.5205 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007323/0.3919, allocations: 452.1 kB / 0.5209 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.123e-05/0.392, allocations: 1.188 kB / 0.5209 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006735/0.3926, allocations: 456 kB / 0.5214 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004114/0.3931, allocations: 252.1 kB / 0.5216 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.3936, allocations: 173.9 kB / 0.5218 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.3939, allocations: 167.7 kB / 0.5219 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.394, allocations: 19.67 kB / 0.5219 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.3942, allocations: 108.4 kB / 0.522 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.3944, allocations: 210 kB / 0.5222 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.3945, allocations: 3.656 kB / 0.5222 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-05/0.3946, allocations: 30.12 kB / 0.5223 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.3947, allocations: 90.62 kB / 0.5224 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.973e-05/0.3948, allocations: 103.8 kB / 0.5225 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.3951, allocations: 245.2 kB / 0.5227 GB, free: 1.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3951, allocations: 5.469 kB / 0.5227 GB, free: 1.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.3951, allocations: 0.8438 kB / 0.5227 GB, free: 1.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3951, allocations: 0 / 0.5227 GB, free: 1.77 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005492/0.3957, allocations: 0.6318 MB / 0.5233 GB, free: 1.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.3957, allocations: 10.09 kB / 0.5233 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.3958, allocations: 43.28 kB / 0.5234 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.396, allocations: 293.4 kB / 0.5237 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.396, allocations: 4.312 kB / 0.5237 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.396, allocations: 13.47 kB / 0.5237 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.3962, allocations: 59.78 kB / 0.5237 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3962, allocations: 0 / 0.5237 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.3962, allocations: 3.938 kB / 0.5237 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.3962, allocations: 0 / 0.5237 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.874e-05/0.3963, allocations: 29.67 kB / 0.5238 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.3967, allocations: 399.8 kB / 0.5241 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.397, allocations: 48.75 kB / 0.5242 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.874e-05/0.397, allocations: 14.83 kB / 0.5242 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.397, allocations: 1.094 kB / 0.5242 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.3971, allocations: 40.14 kB / 0.5242 GB, free: 440 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3971, allocations: 4 kB / 0.5242 GB, free: 436 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006248/0.3977, allocations: 229.1 kB / 0.5245 GB, free: 312 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.3977, allocations: 52.06 kB / 0.5245 GB, free: 248 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000876/0.3986, allocations: 0.8608 MB / 0.5254 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.3986, allocations: 27.08 kB / 0.5254 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.3988, allocations: 224.9 kB / 0.5256 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.3989, allocations: 22.5 kB / 0.5256 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.3989, allocations: 17.84 kB / 0.5256 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3991, allocations: 359.3 kB / 0.526 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.3991, allocations: 20.36 kB / 0.526 GB, free: 15.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.328e-05/0.3992, allocations: 20.36 kB / 0.526 GB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.3994, allocations: 52.33 kB / 0.5261 GB, free: 15.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3994, allocations: 4 kB / 0.5261 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002138/0.3996, allocations: 121.2 kB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3996, allocations: 8.312 kB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.3996, allocations: 0 / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3996, allocations: 1.375 kB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.3997, allocations: 13.61 kB / 0.5262 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3997, allocations: 0 / 0.5262 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.795e-05/0.3998, allocations: 11.97 kB / 0.5262 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.3998, allocations: 5.375 kB / 0.5262 GB, free: 15.16 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 (5): * Single equations (assignments): 5 * 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.0001835/0.4, allocations: 214.5 kB / 0.5264 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.4001, allocations: 37.41 kB / 0.5265 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.4004, allocations: 145.9 kB / 0.5266 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4004, allocations: 0.9688 kB / 0.5266 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4004, allocations: 0.9375 kB / 0.5266 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.4004, allocations: 3.938 kB / 0.5266 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005772/0.401, allocations: 471.1 kB / 0.5271 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.401, allocations: 0 / 0.5271 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.4011, allocations: 17.48 kB / 0.5271 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4011, allocations: 1.344 kB / 0.5271 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.4011, allocations: 7.875 kB / 0.5271 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.4011, allocations: 1.219 kB / 0.5271 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4011, allocations: 0 / 0.5271 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.4014, allocations: 221.2 kB / 0.5273 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/0.4015, allocations: 109.5 kB / 0.5274 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.4015, allocations: 5.25 kB / 0.5274 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.4016, allocations: 6.828 kB / 0.5274 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.4016, allocations: 2.531 kB / 0.5274 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.4016, allocations: 1.438 kB / 0.5274 GB, free: 14.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007005/0.4024, allocations: 0.6514 MB / 0.528 GB, free: 13.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4024, allocations: 4 kB / 0.5281 GB, free: 13.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.4027, allocations: 26.97 kB / 0.5281 GB, free: 13.82 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 (5): * Single equations (assignments): 5 * 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.0009965/0.4037, allocations: 405.7 kB / 0.5285 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002372/0.4039, allocations: 51.09 kB / 0.5285 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4039, allocations: 3.938 kB / 0.5285 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.404, allocations: 33.06 kB / 0.5285 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.4044, allocations: 28.03 kB / 0.5286 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.4057, allocations: 0.789 MB / 0.5293 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.4061, allocations: 0.8293 MB / 0.5302 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.031e-05/0.4062, allocations: 11.23 kB / 0.5302 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.4062, allocations: 12.84 kB / 0.5302 GB, free: 12.38 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4062, allocations: 4 kB / 0.5302 GB, free: 12.38 MB / 398.1 MB Notification: Performance of Templates: time 0.005298/0.4115, allocations: 1.472 MB / 0.5316 GB, free: 11.65 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches