Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001219, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001172/0.001172, allocations: 187.1 kB / 18.71 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.464/1.464, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2521/0.2521, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 67.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4328, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003622/0.4365, allocations: 1.581 MB / 0.5205 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007439/0.4372, allocations: 413.6 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.4373, allocations: 0 / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007446/0.4381, allocations: 449.1 kB / 0.5213 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004802/0.4386, allocations: 254.9 kB / 0.5215 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.439, allocations: 121.6 kB / 0.5216 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.4394, allocations: 153.9 kB / 0.5218 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.4395, allocations: 14.66 kB / 0.5218 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.4397, allocations: 115.5 kB / 0.5219 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.44, allocations: 207.6 kB / 0.5221 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.4401, allocations: 3.031 kB / 0.5221 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.4402, allocations: 19.7 kB / 0.5221 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.4403, allocations: 84.52 kB / 0.5222 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.296e-05/0.4404, allocations: 96.72 kB / 0.5223 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.4408, allocations: 245.5 kB / 0.5225 GB, free: 1.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.4408, allocations: 4.562 kB / 0.5225 GB, free: 1.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4408, allocations: 1.469 kB / 0.5225 GB, free: 1.844 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.4409, allocations: 0 / 0.5225 GB, free: 1.844 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008065/0.4417, allocations: 0.6213 MB / 0.5232 GB, free: 1.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.4417, allocations: 9.312 kB / 0.5232 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.325e-05/0.4418, allocations: 42.77 kB / 0.5232 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.4421, allocations: 292 kB / 0.5235 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.4421, allocations: 1.438 kB / 0.5235 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.4421, allocations: 10.31 kB / 0.5235 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.4423, allocations: 60.97 kB / 0.5235 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4423, allocations: 0.6562 kB / 0.5236 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.4423, allocations: 0 / 0.5236 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4423, allocations: 1.281 kB / 0.5236 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.4424, allocations: 30.89 kB / 0.5236 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.4429, allocations: 373.2 kB / 0.5239 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.443, allocations: 45.67 kB / 0.524 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.847e-05/0.4431, allocations: 25.95 kB / 0.524 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.4431, allocations: 5.375 kB / 0.524 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.4432, allocations: 32.64 kB / 0.524 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4432, allocations: 0 / 0.524 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003263/0.4435, allocations: 116.4 kB / 0.5242 GB, free: 476 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.4435, allocations: 52.94 kB / 0.5242 GB, free: 412 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008234/0.4444, allocations: 0.8504 MB / 0.525 GB, free: 88 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.4444, allocations: 27.59 kB / 0.5251 GB, free: 56 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.4446, allocations: 214.7 kB / 0.5253 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.4446, allocations: 10.69 kB / 0.5253 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/0.4447, allocations: 13.03 kB / 0.5253 GB, free: 15.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.4449, allocations: 365.7 kB / 0.5256 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/0.4449, allocations: 20.17 kB / 0.5257 GB, free: 15.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-05/0.445, allocations: 13.61 kB / 0.5257 GB, free: 15.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.4451, allocations: 38.64 kB / 0.5257 GB, free: 15.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4451, allocations: 1.75 kB / 0.5257 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001994/0.4453, allocations: 99.03 kB / 0.5258 GB, free: 15.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.4454, allocations: 9.375 kB / 0.5258 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4454, allocations: 0 / 0.5258 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4454, allocations: 5.359 kB / 0.5258 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.478e-05/0.4455, allocations: 6.5 kB / 0.5258 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.4455, allocations: 0 / 0.5258 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.74e-05/0.4456, allocations: 15.83 kB / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.4456, allocations: 1.344 kB / 0.5258 GB, free: 15.39 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 (3): * Single equations (assignments): 3 * 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.0002094/0.4458, allocations: 208.6 kB / 0.526 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.397e-05/0.4459, allocations: 45.53 kB / 0.5261 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.4462, allocations: 119.1 kB / 0.5262 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4462, allocations: 3.984 kB / 0.5262 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.4462, allocations: 0 / 0.5262 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4462, allocations: 1.656 kB / 0.5262 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.4465, allocations: 289.9 kB / 0.5265 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.4465, allocations: 4 kB / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.784e-05/0.4466, allocations: 7.469 kB / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.4466, allocations: 4 kB / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.4466, allocations: 5.094 kB / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.4466, allocations: 0 / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.4466, allocations: 5.094 kB / 0.5265 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.4469, allocations: 207.3 kB / 0.5267 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/0.447, allocations: 104.5 kB / 0.5268 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.447, allocations: 1.188 kB / 0.5268 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.749e-05/0.4471, allocations: 11.52 kB / 0.5268 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.4471, allocations: 1.094 kB / 0.5268 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.4472, allocations: 1.5 kB / 0.5268 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006326/0.4478, allocations: 0.6447 MB / 0.5274 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4478, allocations: 0 / 0.5274 GB, free: 14.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.4481, allocations: 16.03 kB / 0.5275 GB, free: 14.24 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 (3): * Single equations (assignments): 3 * 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.0008438/0.4489, allocations: 351.3 kB / 0.5278 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.4491, allocations: 46.27 kB / 0.5278 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4491, allocations: 0 / 0.5278 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.519e-05/0.4492, allocations: 19.14 kB / 0.5279 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.4496, allocations: 28.38 kB / 0.5279 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.4507, allocations: 0.7576 MB / 0.5286 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.4512, allocations: 0.8206 MB / 0.5294 GB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.525e-05/0.4512, allocations: 6.828 kB / 0.5294 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.4512, allocations: 11.91 kB / 0.5294 GB, free: 12.84 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4513, allocations: 0 / 0.5294 GB, free: 12.84 MB / 398.1 MB Notification: Performance of Templates: time 0.004962/0.4562, allocations: 1.343 MB / 0.5308 GB, free: 12.16 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches