Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.001279, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.00129/0.00129, allocations: 179.9 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.306/1.306, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2012/0.2012, allocations: 44.2 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 59.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4023, allocations: 60.83 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003846/0.4062, allocations: 1.973 MB / 0.5208 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.408, allocations: 0.9578 MB / 0.5218 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.4081, allocations: 2.5 kB / 0.5218 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006039/0.4087, allocations: 262.2 kB / 0.522 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004169/0.4092, allocations: 197.5 kB / 0.5222 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.4106, allocations: 0.6483 MB / 0.5229 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004317/0.411, allocations: 305 kB / 0.5231 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.4112, allocations: 76.64 kB / 0.5232 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.4114, allocations: 138.8 kB / 0.5233 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.4117, allocations: 196.1 kB / 0.5235 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.4117, allocations: 11.06 kB / 0.5235 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.4119, allocations: 101.6 kB / 0.5236 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.4121, allocations: 90.05 kB / 0.5237 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.688e-05/0.4122, allocations: 114.8 kB / 0.5238 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005042/0.4127, allocations: 330.3 kB / 0.5242 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4127, allocations: 0 / 0.5242 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.4127, allocations: 1.562 kB / 0.5242 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.4127, allocations: 3.938 kB / 0.5242 GB, free: 0.6016 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007361/0.4135, allocations: 0.642 MB / 0.5248 GB, free: 36 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.4135, allocations: 10.5 kB / 0.5248 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.983e-05/0.4136, allocations: 42.67 kB / 0.5248 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.414, allocations: 313.9 kB / 0.5251 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.4141, allocations: 8.812 kB / 0.5251 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.4141, allocations: 12.16 kB / 0.5252 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.4144, allocations: 134.5 kB / 0.5253 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.4144, allocations: 0.7031 kB / 0.5253 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.4144, allocations: 10 kB / 0.5253 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.4144, allocations: 5.891 kB / 0.5253 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.4146, allocations: 91.38 kB / 0.5254 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007194/0.4154, allocations: 0.4918 MB / 0.5259 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.4156, allocations: 109.3 kB / 0.526 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/0.4157, allocations: 49.62 kB / 0.526 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.4158, allocations: 2.75 kB / 0.526 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.4158, allocations: 31.94 kB / 0.5261 GB, free: 15.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.4158, allocations: 0 / 0.5261 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001032/0.4168, allocations: 436 kB / 0.5265 GB, free: 14.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.4169, allocations: 56.77 kB / 0.5265 GB, free: 14.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006479/0.4175, allocations: 0.5258 MB / 0.527 GB, free: 14.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.4176, allocations: 31.08 kB / 0.5271 GB, free: 14.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.4177, allocations: 197.2 kB / 0.5273 GB, free: 14.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.854e-05/0.4178, allocations: 57.8 kB / 0.5273 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.4179, allocations: 38.61 kB / 0.5273 GB, free: 14.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4181, allocations: 350.3 kB / 0.5277 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.4182, allocations: 66.58 kB / 0.5277 GB, free: 13.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.4184, allocations: 68.22 kB / 0.5278 GB, free: 13.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.4187, allocations: 159.6 kB / 0.528 GB, free: 13.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4187, allocations: 3.938 kB / 0.528 GB, free: 13.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004062/0.4191, allocations: 222.1 kB / 0.5282 GB, free: 13.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4191, allocations: 5.531 kB / 0.5282 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4191, allocations: 3.984 kB / 0.5282 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4192, allocations: 1.219 kB / 0.5282 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.4194, allocations: 39.02 kB / 0.5282 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.4194, allocations: 7.938 kB / 0.5282 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.904e-05/0.4194, allocations: 12.48 kB / 0.5282 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.4195, allocations: 8.484 kB / 0.5283 GB, free: 13.62 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 (17): * Single equations (assignments): 17 * 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.0002351/0.4197, allocations: 174.6 kB / 0.5284 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.378e-05/0.4198, allocations: 40.27 kB / 0.5285 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000613/0.4204, allocations: 280.5 kB / 0.5287 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4204, allocations: 1.469 kB / 0.5287 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.4205, allocations: 0 / 0.5287 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4205, allocations: 1.219 kB / 0.5287 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009848/0.4215, allocations: 0.6592 MB / 0.5294 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4215, allocations: 0 / 0.5294 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.4216, allocations: 30.14 kB / 0.5294 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4216, allocations: 5.016 kB / 0.5294 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.4216, allocations: 10.12 kB / 0.5294 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4216, allocations: 1.125 kB / 0.5294 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.4217, allocations: 5.031 kB / 0.5294 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004599/0.4221, allocations: 327.8 kB / 0.5297 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.947e-05/0.4222, allocations: 108.2 kB / 0.5298 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.4223, allocations: 1.312 kB / 0.5298 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/0.4223, allocations: 15.27 kB / 0.5299 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.4224, allocations: 18.42 kB / 0.5299 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.4224, allocations: 4.438 kB / 0.5299 GB, free: 12.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000447/0.4229, allocations: 400.5 kB / 0.5303 GB, free: 12.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4229, allocations: 0 / 0.5303 GB, free: 12.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.4232, allocations: 44.53 kB / 0.5303 GB, free: 12.16 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 (17): * Single equations (assignments): 17 * 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.001691/0.4249, allocations: 0.7067 MB / 0.531 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003657/0.4253, allocations: 158.4 kB / 0.5311 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4253, allocations: 0 / 0.5311 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.4255, allocations: 92.17 kB / 0.5312 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005778/0.4261, allocations: 75.59 kB / 0.5313 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.4272, allocations: 0.7034 MB / 0.532 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.4277, allocations: 0.8203 MB / 0.5328 GB, free: 10.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.4278, allocations: 52.09 kB / 0.5328 GB, free: 10.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.968e-05/0.4279, allocations: 28 kB / 0.5329 GB, free: 10.48 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4279, allocations: 5.312 kB / 0.5329 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Templates: time 0.007487/0.4354, allocations: 3.277 MB / 0.5361 GB, free: 8.832 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches