Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 114.5 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.001439/0.001439, allocations: 191.7 kB / 18.72 MB, free: 4.336 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.422/1.422, 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.2202/0.2202, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.4001, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.003736/0.4039, allocations: 1.855 MB / 0.5207 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.4054, allocations: 0.8161 MB / 0.5215 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.4055, allocations: 6.281 kB / 0.5215 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006034/0.4061, allocations: 242.1 kB / 0.5218 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005079/0.4066, allocations: 200.5 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.408, allocations: 476 kB / 0.5224 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005568/0.4086, allocations: 256.7 kB / 0.5226 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.4088, allocations: 47.02 kB / 0.5227 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.409, allocations: 115.2 kB / 0.5228 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.4093, allocations: 188 kB / 0.523 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.4093, allocations: 6.969 kB / 0.523 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.4095, allocations: 50.02 kB / 0.523 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.4097, allocations: 82.03 kB / 0.5231 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.788e-05/0.4098, allocations: 98.06 kB / 0.5232 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004082/0.4102, allocations: 256.1 kB / 0.5234 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4102, allocations: 0 / 0.5234 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4102, allocations: 1.375 kB / 0.5234 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.4102, allocations: 0 / 0.5234 GB, free: 0.9648 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007358/0.411, allocations: 0.5854 MB / 0.524 GB, free: 452 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.411, allocations: 9.969 kB / 0.524 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.084e-05/0.4111, allocations: 32.69 kB / 0.5241 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.4114, allocations: 299.4 kB / 0.5243 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.4114, allocations: 6.812 kB / 0.5244 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.4114, allocations: 4.219 kB / 0.5244 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.4116, allocations: 83.52 kB / 0.5244 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.4117, allocations: 0 / 0.5244 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.4117, allocations: 4 kB / 0.5244 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.4117, allocations: 3.25 kB / 0.5244 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.4118, allocations: 50.83 kB / 0.5245 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000658/0.4125, allocations: 414.9 kB / 0.5249 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.4127, allocations: 59.44 kB / 0.5249 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.005e-05/0.4127, allocations: 28.45 kB / 0.525 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.4128, allocations: 14.38 kB / 0.525 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.4128, allocations: 31.94 kB / 0.525 GB, free: 15.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.4128, allocations: 0 / 0.525 GB, free: 15.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003449/0.4132, allocations: 127.5 kB / 0.5251 GB, free: 15.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.4132, allocations: 55.86 kB / 0.5252 GB, free: 15.51 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006316/0.4139, allocations: 0.5131 MB / 0.5257 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.4139, allocations: 25.7 kB / 0.5257 GB, free: 15.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.414, allocations: 195.6 kB / 0.5259 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.4141, allocations: 19.45 kB / 0.5259 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.4141, allocations: 15.78 kB / 0.5259 GB, free: 15.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4143, allocations: 347.4 kB / 0.5263 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.496e-05/0.4143, allocations: 17.72 kB / 0.5263 GB, free: 14.74 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.148e-05/0.4144, allocations: 21.16 kB / 0.5263 GB, free: 14.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.4145, allocations: 49.64 kB / 0.5264 GB, free: 14.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4145, allocations: 4 kB / 0.5264 GB, free: 14.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002131/0.4148, allocations: 105.6 kB / 0.5265 GB, free: 14.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.4148, allocations: 6.219 kB / 0.5265 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4148, allocations: 0 / 0.5265 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4148, allocations: 1.375 kB / 0.5265 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.782e-05/0.4149, allocations: 16.36 kB / 0.5265 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.4149, allocations: 3.938 kB / 0.5265 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.335e-05/0.415, allocations: 11.52 kB / 0.5265 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.415, allocations: 3.516 kB / 0.5265 GB, free: 14.63 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 (6): * Single equations (assignments): 6 * 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.0001668/0.4152, allocations: 165.9 kB / 0.5267 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/0.4153, allocations: 37.94 kB / 0.5267 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.4156, allocations: 123.1 kB / 0.5268 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.4156, allocations: 9.266 kB / 0.5268 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.4156, allocations: 0 / 0.5268 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4156, allocations: 1.562 kB / 0.5268 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003588/0.416, allocations: 267.7 kB / 0.5271 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.416, allocations: 0 / 0.5271 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.759e-05/0.416, allocations: 21.55 kB / 0.5271 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.416, allocations: 1.375 kB / 0.5271 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.4161, allocations: 4 kB / 0.5271 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.4161, allocations: 5.312 kB / 0.5271 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4161, allocations: 0 / 0.5271 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.4163, allocations: 203.1 kB / 0.5273 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/0.4164, allocations: 99.69 kB / 0.5274 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.4165, allocations: 0 / 0.5274 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.373e-05/0.4166, allocations: 10.69 kB / 0.5274 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.4166, allocations: 2.75 kB / 0.5274 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.4166, allocations: 1.375 kB / 0.5274 GB, free: 13.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005996/0.4173, allocations: 392.5 kB / 0.5278 GB, free: 13.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4173, allocations: 0 / 0.5278 GB, free: 13.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004139/0.4177, allocations: 38.94 kB / 0.5278 GB, free: 13.61 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 (6): * Single equations (assignments): 6 * 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.001961/0.4197, allocations: 0.5979 MB / 0.5284 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.4199, allocations: 43.88 kB / 0.5284 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4199, allocations: 0 / 0.5284 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.442e-05/0.42, allocations: 29.05 kB / 0.5285 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007876/0.4208, allocations: 88.72 kB / 0.5286 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.4221, allocations: 0.5544 MB / 0.5291 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.4226, allocations: 0.7937 MB / 0.5299 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.4227, allocations: 32.97 kB / 0.5299 GB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.41e-05/0.4228, allocations: 22.97 kB / 0.5299 GB, free: 12.14 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4228, allocations: 0 / 0.5299 GB, free: 12.14 MB / 398.1 MB Notification: Performance of Templates: time 0.009378/0.4322, allocations: 2.605 MB / 0.5325 GB, free: 10.82 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches