Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") 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: 113.8 kB / 17.78 MB, free: 5.285 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.001282/0.001281, allocations: 183.9 kB / 18.71 MB, free: 4.371 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.463/1.463, allocations: 222.9 MB / 242.4 MB, free: 15.13 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.2237/0.2237, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.89 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4001, allocations: 60.83 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003072/0.4032, allocations: 1.628 MB / 0.5205 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008343/0.404, allocations: 0.6786 MB / 0.5212 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.644e-05/0.4041, allocations: 1.719 kB / 0.5212 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.4044, allocations: 27.22 kB / 0.5212 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.4046, allocations: 43.5 kB / 0.5212 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.562e-06/0.4046, allocations: 0 / 0.5212 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.4048, allocations: 31.23 kB / 0.5213 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.4048, allocations: 7.062 kB / 0.5213 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.688e-05/0.4049, allocations: 13.08 kB / 0.5213 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.515e-05/0.4049, allocations: 15.64 kB / 0.5213 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.405, allocations: 1.156 kB / 0.5213 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.01e-05/0.405, allocations: 11.39 kB / 0.5213 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.304e-05/0.4051, allocations: 19.58 kB / 0.5213 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.4051, allocations: 19.25 kB / 0.5213 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.4053, allocations: 71.48 kB / 0.5214 GB, free: 1.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.4053, allocations: 1.094 kB / 0.5214 GB, free: 1.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4053, allocations: 0 / 0.5214 GB, free: 1.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.4053, allocations: 0 / 0.5214 GB, free: 1.867 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003222/0.4056, allocations: 358.5 kB / 0.5218 GB, free: 1.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.4057, allocations: 9.453 kB / 0.5218 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.4057, allocations: 12.38 kB / 0.5218 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.4058, allocations: 176.2 kB / 0.5219 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.4059, allocations: 2.75 kB / 0.5219 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.4059, allocations: 5.531 kB / 0.5219 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.406, allocations: 129.6 kB / 0.5221 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.406, allocations: 192 / 0.5221 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.4061, allocations: 5.125 kB / 0.5221 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.949e-05/0.4061, allocations: 22.72 kB / 0.5221 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.388e-05/0.4062, allocations: 50.94 kB / 0.5221 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.4066, allocations: 0.8897 MB / 0.523 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.842e-05/0.4067, allocations: 171.3 kB / 0.5232 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.4067, allocations: 84.14 kB / 0.5233 GB, free: 0 / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.342e-05/0.4067, allocations: 79.78 kB / 0.5233 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/0.4068, allocations: 111.9 kB / 0.5234 GB, free: 15.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.4068, allocations: 0 / 0.5234 GB, free: 15.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.806e-05/0.4069, allocations: 33.78 kB / 0.5235 GB, free: 15.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.4069, allocations: 131.8 kB / 0.5236 GB, free: 15.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.4071, allocations: 189.4 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.4071, allocations: 25.7 kB / 0.5238 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/0.4072, allocations: 146.8 kB / 0.5239 GB, free: 15.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.611e-06/0.4072, allocations: 5.859 kB / 0.524 GB, free: 15.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.4073, allocations: 44.25 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4074, allocations: 321 kB / 0.5243 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.791e-05/0.4075, allocations: 30.86 kB / 0.5243 GB, free: 14.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.4076, allocations: 152.3 kB / 0.5245 GB, free: 14.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.4078, allocations: 211 kB / 0.5247 GB, free: 14.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.4078, allocations: 2.312 kB / 0.5247 GB, free: 14.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002976/0.4081, allocations: 199.8 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4081, allocations: 7.219 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.4081, allocations: 4.375 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.4082, allocations: 5.531 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.4083, allocations: 37.97 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.4083, allocations: 10.23 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.474e-05/0.4084, allocations: 17.09 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.4084, allocations: 17.72 kB / 0.525 GB, free: 14.46 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001344/0.4086, allocations: 212.6 kB / 0.5252 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.4086, allocations: 114.4 kB / 0.5253 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.4087, allocations: 119.5 kB / 0.5254 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.544e-05/0.4088, allocations: 178.5 kB / 0.5256 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.407e-05/0.4089, allocations: 193.8 kB / 0.5257 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.683e-05/0.4089, allocations: 182.1 kB / 0.5259 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.4092, allocations: 420.6 kB / 0.5263 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.079e-05/0.4093, allocations: 109.5 kB / 0.5264 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.4093, allocations: 106.9 kB / 0.5265 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.008e-05/0.4094, allocations: 185.9 kB / 0.5267 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.757e-05/0.4094, allocations: 182.5 kB / 0.5269 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.657e-05/0.4095, allocations: 178.2 kB / 0.527 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.541e-05/0.4096, allocations: 181 kB / 0.5272 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.4097, allocations: 316.6 kB / 0.5275 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.15e-05/0.4098, allocations: 197.6 kB / 0.5277 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.177e-05/0.4099, allocations: 183.2 kB / 0.5279 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.016e-05/0.41, allocations: 105.7 kB / 0.528 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.4101, allocations: 178 kB / 0.5282 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.4101, allocations: 106.8 kB / 0.5283 GB, free: 10.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.873e-05/0.4102, allocations: 130.8 kB / 0.5284 GB, free: 10.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4102, allocations: 0 / 0.5284 GB, free: 10.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.4105, allocations: 20.12 kB / 0.5284 GB, free: 10.84 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 (0): * Single equations (assignments): 0 * 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.0004215/0.411, allocations: 276.6 kB / 0.5287 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.4111, allocations: 75.7 kB / 0.5287 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4111, allocations: 320 / 0.5287 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.4111, allocations: 4 kB / 0.5287 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.4115, allocations: 463.9 kB / 0.5292 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.4118, allocations: 237.3 kB / 0.5294 GB, free: 9.957 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.4121, allocations: 0.7065 MB / 0.5301 GB, free: 9.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001587/0.4122, allocations: 49.66 kB / 0.5301 GB, free: 9.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.4123, allocations: 18.89 kB / 0.5302 GB, free: 9.234 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4123, allocations: 4 kB / 0.5302 GB, free: 9.23 MB / 398.1 MB Notification: Performance of Templates: time 0.002836/0.4151, allocations: 0.7059 MB / 0.5309 GB, free: 9.129 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches