Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 110.4 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.001458/0.001458, allocations: 183.9 kB / 18.7 MB, free: 4.367 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.461/1.461, 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.2082/0.2082, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.441, allocations: 60.82 MB / 0.5189 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003431/0.4445, allocations: 1.564 MB / 0.5204 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.446, allocations: 1.025 MB / 0.5214 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.552e-05/0.4461, allocations: 3.938 kB / 0.5215 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.4464, allocations: 24.62 kB / 0.5215 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.4466, allocations: 41.53 kB / 0.5215 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.4469, allocations: 115.1 kB / 0.5216 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.4471, allocations: 59.72 kB / 0.5217 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.4472, allocations: 12.42 kB / 0.5217 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.242e-05/0.4473, allocations: 19.2 kB / 0.5217 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.4474, allocations: 33.52 kB / 0.5217 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.4475, allocations: 3.5 kB / 0.5217 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.4476, allocations: 44.7 kB / 0.5218 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.4477, allocations: 17.56 kB / 0.5218 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.4477, allocations: 25.72 kB / 0.5218 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.448, allocations: 85.88 kB / 0.5219 GB, free: 1.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.448, allocations: 1.75 kB / 0.5219 GB, free: 1.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.448, allocations: 0 / 0.5219 GB, free: 1.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.448, allocations: 0 / 0.5219 GB, free: 1.828 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.0005052/0.4485, allocations: 375.9 kB / 0.5223 GB, free: 1.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.4486, allocations: 10.52 kB / 0.5223 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.4486, allocations: 10.97 kB / 0.5223 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.4488, allocations: 187.2 kB / 0.5225 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.4488, allocations: 5.469 kB / 0.5225 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.4489, allocations: 6.484 kB / 0.5225 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.4491, allocations: 66.22 kB / 0.5225 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.4491, allocations: 0.6562 kB / 0.5225 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.4491, allocations: 1.719 kB / 0.5225 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.4491, allocations: 0 / 0.5225 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.4493, allocations: 27.59 kB / 0.5226 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.4499, allocations: 279.3 kB / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.4502, allocations: 42.77 kB / 0.5229 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.698e-05/0.4503, allocations: 17.67 kB / 0.5229 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.4504, allocations: 2 kB / 0.5229 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.4504, allocations: 35.88 kB / 0.5229 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.904e-06/0.4504, allocations: 4 kB / 0.5229 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008044/0.4512, allocations: 150.8 kB / 0.5231 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.4513, allocations: 77.11 kB / 0.5232 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.4515, allocations: 137 kB / 0.5233 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.4515, allocations: 25.7 kB / 0.5233 GB, free: 488 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.4515, allocations: 93.03 kB / 0.5234 GB, free: 396 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.4516, allocations: 19.98 kB / 0.5234 GB, free: 380 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.4516, allocations: 18.98 kB / 0.5234 GB, free: 360 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.17e-05/0.4517, allocations: 322.4 kB / 0.5237 GB, free: 32 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.211e-05/0.4518, allocations: 21.28 kB / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.411e-05/0.4519, allocations: 32.72 kB / 0.5238 GB, free: 8 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.4521, allocations: 59.59 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4521, allocations: 0.9688 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002181/0.4523, allocations: 88.97 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4524, allocations: 9.062 kB / 0.5239 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4524, allocations: 0 / 0.5239 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.4524, allocations: 1.844 kB / 0.5239 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.453e-05/0.4525, allocations: 12.09 kB / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.4525, allocations: 0 / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.4525, allocations: 9.469 kB / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.4526, allocations: 6.188 kB / 0.524 GB, free: 15.91 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 (5): * Single equations (assignments): 5 * 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 9.605e-05/0.4527, allocations: 119.5 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.4527, allocations: 7.25 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.453, allocations: 100.8 kB / 0.5242 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.453, allocations: 1.062 kB / 0.5242 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.453, allocations: 0 / 0.5242 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.453, allocations: 1.766 kB / 0.5242 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.4535, allocations: 357.3 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4535, allocations: 1.219 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.436e-05/0.4536, allocations: 11.77 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4536, allocations: 0 / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.4536, allocations: 1.438 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.4536, allocations: 14.28 kB / 0.5246 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4536, allocations: 0 / 0.5246 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.4539, allocations: 185 kB / 0.5247 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.454, allocations: 79.17 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.454, allocations: 1.703 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.4541, allocations: 8.844 kB / 0.5248 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.4541, allocations: 3.547 kB / 0.5248 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.4541, allocations: 1.891 kB / 0.5248 GB, free: 15.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.4542, allocations: 110.6 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4542, allocations: 0 / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.4545, allocations: 21.34 kB / 0.525 GB, free: 15.04 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 (5): * Single equations (assignments): 5 * 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.00105/0.4556, allocations: 442.4 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.4558, allocations: 57.28 kB / 0.5254 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4558, allocations: 0 / 0.5254 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.706e-05/0.4559, allocations: 29.02 kB / 0.5255 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.4562, allocations: 18 kB / 0.5255 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/0.4566, allocations: 164.7 kB / 0.5256 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.457, allocations: 0.6995 MB / 0.5263 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.168e-05/0.4571, allocations: 16.98 kB / 0.5263 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.4571, allocations: 14.97 kB / 0.5263 GB, free: 13.96 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4571, allocations: 0 / 0.5263 GB, free: 13.96 MB / 398.1 MB Notification: Performance of Templates: time 0.004403/0.4615, allocations: 1.37 MB / 0.5277 GB, free: 13.59 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches