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.001178/0.001178, allocations: 109.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.001434/0.001434, allocations: 183.9 kB / 18.7 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.499/1.499, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2186/0.2186, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4239, allocations: 60.81 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.004486/0.4284, allocations: 1.984 MB / 0.5208 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.4302, allocations: 0.8449 MB / 0.5217 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002881/0.4305, allocations: 2.219 kB / 0.5217 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006432/0.4312, allocations: 250.3 kB / 0.5219 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005893/0.4319, allocations: 193.8 kB / 0.5221 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.4333, allocations: 488.1 kB / 0.5226 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007217/0.434, allocations: 287.1 kB / 0.5228 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.4343, allocations: 60.58 kB / 0.5229 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003453/0.4346, allocations: 135.3 kB / 0.523 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003933/0.435, allocations: 197.1 kB / 0.5232 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.942e-05/0.4351, allocations: 9.625 kB / 0.5232 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.4354, allocations: 99.22 kB / 0.5233 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.4356, allocations: 81.39 kB / 0.5234 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.4357, allocations: 110.3 kB / 0.5235 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006332/0.4363, allocations: 310.2 kB / 0.5238 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4364, allocations: 0 / 0.5238 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4364, allocations: 0.5625 kB / 0.5238 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.4364, allocations: 1.281 kB / 0.5238 GB, free: 0.7891 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.001/0.4374, allocations: 0.6317 MB / 0.5244 GB, free: 240 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.4375, allocations: 9.656 kB / 0.5244 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.4376, allocations: 41.56 kB / 0.5245 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.438, allocations: 307.3 kB / 0.5247 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.438, allocations: 9 kB / 0.5248 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.438, allocations: 10.91 kB / 0.5248 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.4383, allocations: 110.9 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.4383, allocations: 2.219 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.4383, allocations: 4 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4384, allocations: 7.031 kB / 0.5249 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.4385, allocations: 71.31 kB / 0.525 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007277/0.4393, allocations: 477.7 kB / 0.5254 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.4395, allocations: 91.42 kB / 0.5255 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.555e-05/0.4396, allocations: 37.66 kB / 0.5255 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.4396, allocations: 7.312 kB / 0.5255 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.4396, allocations: 31.12 kB / 0.5256 GB, free: 15.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.4396, allocations: 1.375 kB / 0.5256 GB, free: 15.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001008/0.4406, allocations: 372.6 kB / 0.5259 GB, free: 15.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.4407, allocations: 54.72 kB / 0.526 GB, free: 15.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006875/0.4414, allocations: 0.525 MB / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.4414, allocations: 31.39 kB / 0.5265 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.4416, allocations: 190.9 kB / 0.5267 GB, free: 14.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.436e-05/0.4417, allocations: 61.88 kB / 0.5268 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/0.4417, allocations: 33.48 kB / 0.5268 GB, free: 14.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.4419, allocations: 353.9 kB / 0.5271 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.442, allocations: 46.97 kB / 0.5272 GB, free: 14.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.4421, allocations: 57.44 kB / 0.5272 GB, free: 14.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.4424, allocations: 118.6 kB / 0.5273 GB, free: 14.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4424, allocations: 3.938 kB / 0.5273 GB, free: 14.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003641/0.4428, allocations: 188.1 kB / 0.5275 GB, free: 14.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4428, allocations: 8.766 kB / 0.5275 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.4428, allocations: 0 / 0.5275 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.4428, allocations: 1.125 kB / 0.5275 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.443, allocations: 42.73 kB / 0.5276 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.443, allocations: 1.344 kB / 0.5276 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.17e-05/0.4431, allocations: 3.75 kB / 0.5276 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.4431, allocations: 12.8 kB / 0.5276 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.0001647/0.4433, allocations: 171.1 kB / 0.5278 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.528e-05/0.4434, allocations: 40.06 kB / 0.5278 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005289/0.4439, allocations: 239.6 kB / 0.528 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4439, allocations: 0.9688 kB / 0.528 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.4439, allocations: 1.625 kB / 0.528 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4439, allocations: 3.938 kB / 0.528 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007933/0.4447, allocations: 0.6089 MB / 0.5286 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4448, allocations: 0 / 0.5286 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.4449, allocations: 34.64 kB / 0.5287 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4449, allocations: 1.094 kB / 0.5287 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.4449, allocations: 9.359 kB / 0.5287 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4449, allocations: 1.344 kB / 0.5287 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4449, allocations: 3.938 kB / 0.5287 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.4453, allocations: 287.2 kB / 0.5289 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.29e-05/0.4454, allocations: 100.3 kB / 0.529 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.4454, allocations: 5.031 kB / 0.529 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.633e-05/0.4455, allocations: 11.42 kB / 0.5291 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.4456, allocations: 18.8 kB / 0.5291 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.4456, allocations: 4.469 kB / 0.5291 GB, free: 12.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000398/0.446, allocations: 388.3 kB / 0.5294 GB, free: 12.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.446, allocations: 0.6562 kB / 0.5294 GB, free: 12.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003302/0.4464, allocations: 53.33 kB / 0.5295 GB, free: 12.59 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.001601/0.448, allocations: 0.6855 MB / 0.5302 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003233/0.4483, allocations: 131.2 kB / 0.5303 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4483, allocations: 0 / 0.5303 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.4485, allocations: 75.75 kB / 0.5304 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.449, allocations: 81.59 kB / 0.5304 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.4502, allocations: 0.6595 MB / 0.5311 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.4507, allocations: 0.8049 MB / 0.5319 GB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.4508, allocations: 35.36 kB / 0.5319 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.4509, allocations: 28.08 kB / 0.5319 GB, free: 10.99 MB / 398.1 MB Notification: Performance of SimCode: time 1.824e-06/0.4509, allocations: 4 kB / 0.5319 GB, free: 10.98 MB / 398.1 MB Notification: Performance of Templates: time 0.008178/0.4591, allocations: 3.181 MB / 0.535 GB, free: 9.375 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins/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