Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001085/0.001085, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.501/1.501, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.2229/0.2229, allocations: 44.19 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 67.89 kB / 470.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5329/0.5345, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.00351/0.5381, allocations: 1.599 MB / 0.5205 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008331/0.539, allocations: 410.3 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.984e-05/0.539, allocations: 1.188 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.5394, allocations: 69.39 kB / 0.5209 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.5397, allocations: 64.81 kB / 0.521 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.5401, allocations: 109.3 kB / 0.5211 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.5403, allocations: 71.05 kB / 0.5212 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.5404, allocations: 19.53 kB / 0.5212 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.672e-05/0.5405, allocations: 32.28 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.5406, allocations: 51.16 kB / 0.5213 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.5406, allocations: 2.938 kB / 0.5213 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.5408, allocations: 38.78 kB / 0.5213 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.218e-05/0.5408, allocations: 19.73 kB / 0.5213 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.5409, allocations: 29.36 kB / 0.5214 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.5411, allocations: 99.17 kB / 0.5215 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5411, allocations: 0 / 0.5215 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5411, allocations: 3.938 kB / 0.5215 GB, free: 2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.5411, allocations: 0 / 0.5215 GB, free: 2 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.0004655/0.5416, allocations: 404.8 kB / 0.5218 GB, free: 1.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.5417, allocations: 12.69 kB / 0.5219 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.5417, allocations: 11.56 kB / 0.5219 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.5419, allocations: 192.1 kB / 0.522 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.5419, allocations: 1.531 kB / 0.522 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.5419, allocations: 11.75 kB / 0.5221 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.5421, allocations: 56.59 kB / 0.5221 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.5421, allocations: 1.062 kB / 0.5221 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.5421, allocations: 4 kB / 0.5221 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5421, allocations: 1.531 kB / 0.5221 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.5422, allocations: 30.44 kB / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.5427, allocations: 295 kB / 0.5224 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.5428, allocations: 49.5 kB / 0.5225 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.665e-05/0.5428, allocations: 19.45 kB / 0.5225 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.5429, allocations: 1.344 kB / 0.5225 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.5429, allocations: 40.42 kB / 0.5225 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.5429, allocations: 0 / 0.5225 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009588/0.5439, allocations: 230.3 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.5439, allocations: 56.78 kB / 0.5228 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.5441, allocations: 194.8 kB / 0.523 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.5441, allocations: 25.7 kB / 0.523 GB, free: 0.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.5442, allocations: 103.4 kB / 0.5231 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.5442, allocations: 26.5 kB / 0.5231 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.5443, allocations: 25.78 kB / 0.5232 GB, free: 496 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.831e-05/0.5444, allocations: 321.5 kB / 0.5235 GB, free: 172 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.98e-05/0.5445, allocations: 33.3 kB / 0.5235 GB, free: 160 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.402e-05/0.5445, allocations: 34.64 kB / 0.5235 GB, free: 148 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.5447, allocations: 76.08 kB / 0.5236 GB, free: 116 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5447, allocations: 0 / 0.5236 GB, free: 116 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002403/0.545, allocations: 113.7 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.545, allocations: 5.625 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.545, allocations: 0 / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.545, allocations: 4.609 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.5452, allocations: 17.61 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.5452, allocations: 7.875 kB / 0.5238 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.5452, allocations: 10.2 kB / 0.5238 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.5453, allocations: 2.094 kB / 0.5238 GB, free: 40 kB / 382.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 (8): * Single equations (assignments): 8 * 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.0001338/0.5454, allocations: 126.2 kB / 0.5239 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.5454, allocations: 8.781 kB / 0.5239 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.5458, allocations: 130.8 kB / 0.524 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5458, allocations: 5.031 kB / 0.524 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.5458, allocations: 3.938 kB / 0.524 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.5458, allocations: 0.6094 kB / 0.524 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006664/0.5465, allocations: 416.3 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5465, allocations: 0 / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.45e-05/0.5466, allocations: 25.5 kB / 0.5245 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.5466, allocations: 4.641 kB / 0.5245 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.5466, allocations: 1.875 kB / 0.5245 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.5466, allocations: 2.453 kB / 0.5245 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5466, allocations: 0 / 0.5245 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.5469, allocations: 209.5 kB / 0.5247 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.547, allocations: 92.16 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.547, allocations: 2.156 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.5471, allocations: 12.59 kB / 0.5248 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.5471, allocations: 6.703 kB / 0.5248 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.5471, allocations: 5.969 kB / 0.5248 GB, free: 15.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.5473, allocations: 147 kB / 0.5249 GB, free: 15.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5473, allocations: 0 / 0.5249 GB, free: 15.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.5476, allocations: 23.8 kB / 0.5249 GB, free: 15.09 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001214/0.5488, allocations: 458.1 kB / 0.5254 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003/0.5491, allocations: 80.31 kB / 0.5255 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.5491, allocations: 4 kB / 0.5255 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.5492, allocations: 38.47 kB / 0.5255 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.5496, allocations: 26.03 kB / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006534/0.5503, allocations: 246.4 kB / 0.5258 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.5507, allocations: 0.7101 MB / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.5509, allocations: 20.23 kB / 0.5265 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.5509, allocations: 14.67 kB / 0.5265 GB, free: 13.94 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5509, allocations: 0 / 0.5265 GB, free: 13.94 MB / 398.1 MB Notification: Performance of Templates: time 0.005459/0.5564, allocations: 1.377 MB / 0.5278 GB, free: 13.53 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches