Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 113.4 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.001318/0.001318, allocations: 185.1 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.352/1.352, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2181/0.2181, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 56.05 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4044, allocations: 60.83 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003441/0.4079, allocations: 1.97 MB / 0.5215 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.4097, allocations: 0.9614 MB / 0.5224 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.4098, allocations: 7.062 kB / 0.5224 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005837/0.4104, allocations: 258.9 kB / 0.5227 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004207/0.4109, allocations: 193 kB / 0.5229 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.4124, allocations: 0.6525 MB / 0.5235 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000518/0.4129, allocations: 304.3 kB / 0.5238 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.4131, allocations: 76.84 kB / 0.5239 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.4133, allocations: 135.2 kB / 0.524 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.4136, allocations: 200.3 kB / 0.5242 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.4136, allocations: 10.66 kB / 0.5242 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.4138, allocations: 72.75 kB / 0.5243 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.414, allocations: 92.78 kB / 0.5244 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.886e-05/0.4141, allocations: 116.2 kB / 0.5245 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004295/0.4145, allocations: 302.8 kB / 0.5248 GB, free: 0.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4145, allocations: 0 / 0.5248 GB, free: 0.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4146, allocations: 1.375 kB / 0.5248 GB, free: 0.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.4146, allocations: 0.6562 kB / 0.5248 GB, free: 0.625 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.000717/0.4153, allocations: 0.6165 MB / 0.5254 GB, free: 88 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.4153, allocations: 10.16 kB / 0.5254 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.496e-05/0.4154, allocations: 46.03 kB / 0.5254 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.4158, allocations: 314.5 kB / 0.5257 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.4159, allocations: 8.594 kB / 0.5257 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.4159, allocations: 12.53 kB / 0.5257 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.4162, allocations: 128.7 kB / 0.5259 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.4162, allocations: 1.219 kB / 0.5259 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.4162, allocations: 5.406 kB / 0.5259 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.4163, allocations: 2.312 kB / 0.5259 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.4165, allocations: 99.69 kB / 0.526 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007686/0.4173, allocations: 0.4956 MB / 0.5265 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.4175, allocations: 109.9 kB / 0.5266 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.62e-05/0.4176, allocations: 44 kB / 0.5266 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.4176, allocations: 2.719 kB / 0.5266 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.4177, allocations: 34.56 kB / 0.5266 GB, free: 15.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.4177, allocations: 1.375 kB / 0.5266 GB, free: 15.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001097/0.4188, allocations: 433.4 kB / 0.527 GB, free: 14.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.4189, allocations: 58.09 kB / 0.5271 GB, free: 14.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006138/0.4195, allocations: 0.526 MB / 0.5276 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.4195, allocations: 29.7 kB / 0.5276 GB, free: 14.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.4197, allocations: 201.8 kB / 0.5278 GB, free: 14.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.299e-05/0.4197, allocations: 53.59 kB / 0.5279 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.805e-05/0.4198, allocations: 30.28 kB / 0.5279 GB, free: 14.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.42, allocations: 350.7 kB / 0.5283 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.4201, allocations: 65.61 kB / 0.5283 GB, free: 13.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.4203, allocations: 68.2 kB / 0.5284 GB, free: 13.9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.4206, allocations: 161.5 kB / 0.5285 GB, free: 13.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4206, allocations: 3.938 kB / 0.5285 GB, free: 13.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003893/0.421, allocations: 226.2 kB / 0.5288 GB, free: 13.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.421, allocations: 5.312 kB / 0.5288 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.421, allocations: 1.125 kB / 0.5288 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.421, allocations: 0 / 0.5288 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.4212, allocations: 35.53 kB / 0.5288 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.4212, allocations: 13.7 kB / 0.5288 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.665e-05/0.4213, allocations: 15.41 kB / 0.5288 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.4213, allocations: 3.438 kB / 0.5288 GB, free: 13.66 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.0001702/0.4215, allocations: 182.2 kB / 0.529 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/0.4215, allocations: 36.28 kB / 0.529 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000536/0.4221, allocations: 275.3 kB / 0.5293 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4221, allocations: 5.141 kB / 0.5293 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4221, allocations: 0 / 0.5293 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4221, allocations: 5.031 kB / 0.5293 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000883/0.423, allocations: 0.6615 MB / 0.53 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.423, allocations: 0 / 0.53 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.4231, allocations: 30.61 kB / 0.53 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4232, allocations: 0 / 0.53 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.4232, allocations: 6.312 kB / 0.53 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.4232, allocations: 1.125 kB / 0.53 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4232, allocations: 5.094 kB / 0.53 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.4236, allocations: 329.8 kB / 0.5303 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.287e-05/0.4237, allocations: 103.6 kB / 0.5304 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.4238, allocations: 6.25 kB / 0.5304 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.4239, allocations: 2.312 kB / 0.5304 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.4239, allocations: 18.48 kB / 0.5304 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.424, allocations: 8.109 kB / 0.5304 GB, free: 12.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004216/0.4244, allocations: 396.3 kB / 0.5308 GB, free: 12.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4244, allocations: 0 / 0.5308 GB, free: 12.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.4247, allocations: 51.58 kB / 0.5309 GB, free: 12.2 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.001622/0.4263, allocations: 0.6993 MB / 0.5316 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003672/0.4267, allocations: 161 kB / 0.5317 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4267, allocations: 5.438 kB / 0.5317 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.4269, allocations: 94.58 kB / 0.5318 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005683/0.4275, allocations: 73.92 kB / 0.5319 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.4285, allocations: 0.6951 MB / 0.5325 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.4289, allocations: 0.8059 MB / 0.5333 GB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-05/0.429, allocations: 35.7 kB / 0.5334 GB, free: 10.55 MB / 398.1 MB Notification: Performance of SimCode: time 2.795e-06/0.429, allocations: 0 / 0.5334 GB, free: 10.55 MB / 398.1 MB Notification: Performance of Templates: time 0.007522/0.4366, allocations: 4.559 MB / 0.5378 GB, free: 8.152 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches