Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 118.4 kB / 17.78 MB, free: 5.234 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.001177/0.001177, allocations: 183.8 kB / 18.72 MB, free: 4.312 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.349/1.349, allocations: 222.9 MB / 242.4 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.1964/0.1964, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4034, allocations: 60.83 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002972/0.4065, allocations: 1.628 MB / 0.5205 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007133/0.4072, allocations: 450.5 kB / 0.5209 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.142e-05/0.4073, allocations: 5.375 kB / 0.5209 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007275/0.408, allocations: 445.9 kB / 0.5214 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004257/0.4084, allocations: 257.7 kB / 0.5216 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.4089, allocations: 174.7 kB / 0.5218 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002986/0.4092, allocations: 166.2 kB / 0.5219 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.4093, allocations: 19.44 kB / 0.522 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.4095, allocations: 112.5 kB / 0.5221 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.4098, allocations: 212 kB / 0.5223 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.4098, allocations: 2.594 kB / 0.5223 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.693e-05/0.4099, allocations: 40.59 kB / 0.5223 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.41, allocations: 82.78 kB / 0.5224 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.821e-05/0.4101, allocations: 103.8 kB / 0.5225 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.4105, allocations: 259.9 kB / 0.5227 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4105, allocations: 1.781 kB / 0.5227 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4105, allocations: 4 kB / 0.5227 GB, free: 1.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.4105, allocations: 0 / 0.5227 GB, free: 1.742 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007084/0.4113, allocations: 0.6534 MB / 0.5234 GB, free: 1.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4113, allocations: 11.61 kB / 0.5234 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.438e-05/0.4114, allocations: 44.47 kB / 0.5234 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.4117, allocations: 300.2 kB / 0.5237 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.4117, allocations: 2.594 kB / 0.5237 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.4117, allocations: 3.125 kB / 0.5237 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.4119, allocations: 66.64 kB / 0.5238 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4119, allocations: 0 / 0.5238 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.412, allocations: 1.344 kB / 0.5238 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.412, allocations: 1.312 kB / 0.5238 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.4121, allocations: 39.09 kB / 0.5238 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.4126, allocations: 401.2 kB / 0.5242 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.4127, allocations: 51.38 kB / 0.5243 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.128e-05/0.4128, allocations: 25.88 kB / 0.5243 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.4128, allocations: 0 / 0.5243 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.4129, allocations: 32.44 kB / 0.5243 GB, free: 400 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.4129, allocations: 0 / 0.5243 GB, free: 400 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000842/0.4137, allocations: 319.1 kB / 0.5246 GB, free: 244 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.4138, allocations: 53.3 kB / 0.5247 GB, free: 180 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008562/0.4146, allocations: 0.8562 MB / 0.5255 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.4146, allocations: 27.08 kB / 0.5255 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.4148, allocations: 210.2 kB / 0.5257 GB, free: 15.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.4149, allocations: 31.88 kB / 0.5258 GB, free: 15.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.4149, allocations: 27.14 kB / 0.5258 GB, free: 15.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4151, allocations: 359.2 kB / 0.5261 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.4152, allocations: 37.97 kB / 0.5262 GB, free: 15.19 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.4153, allocations: 44.64 kB / 0.5262 GB, free: 15.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.4155, allocations: 87.55 kB / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4155, allocations: 0 / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003174/0.4158, allocations: 161.8 kB / 0.5264 GB, free: 15.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.4159, allocations: 7.469 kB / 0.5265 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4159, allocations: 1 kB / 0.5265 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.4159, allocations: 3.984 kB / 0.5265 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.416, allocations: 30.52 kB / 0.5265 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.416, allocations: 1.531 kB / 0.5265 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.638e-05/0.4161, allocations: 16.89 kB / 0.5265 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.4161, allocations: 2.844 kB / 0.5265 GB, free: 15 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 (7): * Single equations (assignments): 7 * 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.0001834/0.4163, allocations: 211.1 kB / 0.5267 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.4164, allocations: 41.59 kB / 0.5268 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.4168, allocations: 187.9 kB / 0.5269 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4168, allocations: 0 / 0.5269 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4168, allocations: 0 / 0.5269 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4168, allocations: 9.406 kB / 0.5269 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006262/0.4174, allocations: 0.4948 MB / 0.5274 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4174, allocations: 0 / 0.5274 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.626e-05/0.4175, allocations: 22.86 kB / 0.5274 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.4175, allocations: 1.312 kB / 0.5274 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.4175, allocations: 3.938 kB / 0.5274 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.4176, allocations: 1.375 kB / 0.5275 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4176, allocations: 0 / 0.5275 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.4179, allocations: 258.1 kB / 0.5277 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.487e-05/0.418, allocations: 113.8 kB / 0.5278 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.418, allocations: 13.39 kB / 0.5278 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.4181, allocations: 5.906 kB / 0.5278 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.4182, allocations: 6.828 kB / 0.5278 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.4182, allocations: 1.094 kB / 0.5278 GB, free: 13.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006434/0.4188, allocations: 0.6465 MB / 0.5285 GB, free: 13.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4188, allocations: 0 / 0.5285 GB, free: 13.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.4191, allocations: 31.64 kB / 0.5285 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 (7): * Single equations (assignments): 7 * 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.0009505/0.4201, allocations: 409.7 kB / 0.5289 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.4204, allocations: 92.45 kB / 0.529 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4204, allocations: 0 / 0.529 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.4205, allocations: 48.03 kB / 0.529 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.4209, allocations: 28.08 kB / 0.529 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.4222, allocations: 0.8149 MB / 0.5298 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.4227, allocations: 0.8307 MB / 0.5307 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.034e-05/0.4228, allocations: 19 kB / 0.5307 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.4228, allocations: 16.81 kB / 0.5307 GB, free: 12.11 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4228, allocations: 0 / 0.5307 GB, free: 12.11 MB / 398.1 MB Notification: Performance of Templates: time 0.005403/0.4282, allocations: 1.602 MB / 0.5323 GB, free: 11.3 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches