Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 110 kB / 18.45 MB, free: 4.602 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.001182/0.001182, allocations: 182.3 kB / 19.38 MB, free: 3.684 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.386/1.386, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2079/0.2079, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 55.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3975, allocations: 60.83 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003279/0.4008, allocations: 1.971 MB / 0.5215 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.4023, allocations: 0.854 MB / 0.5223 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.4024, allocations: 2.062 kB / 0.5223 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005341/0.4029, allocations: 250.5 kB / 0.5226 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004077/0.4034, allocations: 193.1 kB / 0.5228 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.4044, allocations: 488.5 kB / 0.5232 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000418/0.4048, allocations: 281.2 kB / 0.5235 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.405, allocations: 73.08 kB / 0.5236 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.4052, allocations: 130.6 kB / 0.5237 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.4055, allocations: 192.6 kB / 0.5239 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.4055, allocations: 10.09 kB / 0.5239 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.4057, allocations: 98.31 kB / 0.524 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.4059, allocations: 87.64 kB / 0.5241 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.165e-05/0.406, allocations: 105.4 kB / 0.5242 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004073/0.4064, allocations: 311.3 kB / 0.5245 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4064, allocations: 4 kB / 0.5245 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4064, allocations: 0 / 0.5245 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.4064, allocations: 0 / 0.5245 GB, free: 0.7734 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.000664/0.4071, allocations: 0.6176 MB / 0.5251 GB, free: 236 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4071, allocations: 9.469 kB / 0.5251 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.449e-05/0.4072, allocations: 44.97 kB / 0.5251 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.4075, allocations: 300.7 kB / 0.5254 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.4076, allocations: 8.5 kB / 0.5254 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.4076, allocations: 7.25 kB / 0.5254 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.4078, allocations: 110.9 kB / 0.5255 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.4079, allocations: 5.312 kB / 0.5255 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.4079, allocations: 5.375 kB / 0.5255 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.4079, allocations: 2.75 kB / 0.5255 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.4081, allocations: 70.62 kB / 0.5256 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006721/0.4088, allocations: 485.3 kB / 0.5261 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.409, allocations: 95.81 kB / 0.5262 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.435e-05/0.4091, allocations: 34.25 kB / 0.5262 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.4091, allocations: 2 kB / 0.5262 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.4091, allocations: 36.44 kB / 0.5262 GB, free: 15.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.634e-06/0.4091, allocations: 1.406 kB / 0.5262 GB, free: 15.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009513/0.4101, allocations: 380.7 kB / 0.5266 GB, free: 15.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.4101, allocations: 57.81 kB / 0.5266 GB, free: 15.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005718/0.4107, allocations: 0.5191 MB / 0.5271 GB, free: 14.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.4107, allocations: 27.08 kB / 0.5272 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.4109, allocations: 195.6 kB / 0.5274 GB, free: 14.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.411, allocations: 57.98 kB / 0.5274 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.167e-05/0.411, allocations: 34.08 kB / 0.5274 GB, free: 14.56 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4112, allocations: 349.8 kB / 0.5278 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.4113, allocations: 50.09 kB / 0.5278 GB, free: 14.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.4114, allocations: 47.47 kB / 0.5279 GB, free: 14.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.4116, allocations: 127.8 kB / 0.528 GB, free: 14.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4117, allocations: 5.312 kB / 0.528 GB, free: 14.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003258/0.412, allocations: 193.3 kB / 0.5282 GB, free: 14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.412, allocations: 5.781 kB / 0.5282 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.412, allocations: 0 / 0.5282 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.412, allocations: 1.125 kB / 0.5282 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.4122, allocations: 39.03 kB / 0.5282 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4122, allocations: 5.266 kB / 0.5282 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.068e-05/0.4123, allocations: 7.844 kB / 0.5282 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.4123, allocations: 8.219 kB / 0.5282 GB, free: 13.98 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.000157/0.4125, allocations: 174.8 kB / 0.5284 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.4125, allocations: 35.66 kB / 0.5285 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004347/0.413, allocations: 241.1 kB / 0.5287 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.413, allocations: 2.719 kB / 0.5287 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.413, allocations: 0 / 0.5287 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.413, allocations: 4 kB / 0.5287 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000808/0.4138, allocations: 0.6119 MB / 0.5293 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.4138, allocations: 0 / 0.5293 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.414, allocations: 29.86 kB / 0.5293 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.414, allocations: 0.9375 kB / 0.5293 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.414, allocations: 6.25 kB / 0.5293 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.414, allocations: 1.906 kB / 0.5293 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.414, allocations: 3.938 kB / 0.5293 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.4144, allocations: 293.6 kB / 0.5296 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.078e-05/0.4145, allocations: 104.5 kB / 0.5297 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.4145, allocations: 5.156 kB / 0.5297 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.704e-05/0.4146, allocations: 7.25 kB / 0.5297 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.4147, allocations: 17.8 kB / 0.5297 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.4147, allocations: 5.344 kB / 0.5297 GB, free: 12.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000419/0.4151, allocations: 396 kB / 0.5301 GB, free: 12.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4151, allocations: 1.125 kB / 0.5301 GB, free: 12.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.4154, allocations: 48.41 kB / 0.5302 GB, free: 12.58 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.001628/0.4171, allocations: 0.6794 MB / 0.5308 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003243/0.4174, allocations: 133.5 kB / 0.531 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4174, allocations: 4 kB / 0.531 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.4175, allocations: 74.19 kB / 0.531 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005566/0.4181, allocations: 77.36 kB / 0.5311 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009792/0.4191, allocations: 0.6629 MB / 0.5318 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.4195, allocations: 0.795 MB / 0.5325 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8e-05/0.4196, allocations: 35.3 kB / 0.5326 GB, free: 10.98 MB / 398.1 MB Notification: Performance of SimCode: time 3.517e-06/0.4196, allocations: 0 / 0.5326 GB, free: 10.98 MB / 398.1 MB Notification: Performance of Templates: time 0.006851/0.4265, allocations: 4.29 MB / 0.5368 GB, free: 8.707 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches