Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 113.2 kB / 17.78 MB, free: 5.242 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.001074/0.001074, allocations: 185 kB / 18.71 MB, free: 4.32 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.494/1.494, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2612/0.2612, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 59.91 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.496/0.4973, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003432/0.5008, allocations: 1.619 MB / 0.5205 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007741/0.5016, allocations: 426.2 kB / 0.5209 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.52e-05/0.5017, allocations: 1.125 kB / 0.5209 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.5021, allocations: 96.41 kB / 0.521 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.5024, allocations: 74.97 kB / 0.5211 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.5029, allocations: 106.3 kB / 0.5212 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003151/0.5032, allocations: 96.83 kB / 0.5213 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.5034, allocations: 29.39 kB / 0.5213 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.5036, allocations: 38.12 kB / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.5038, allocations: 61.97 kB / 0.5214 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.5038, allocations: 4.438 kB / 0.5214 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.504, allocations: 49.28 kB / 0.5214 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.5041, allocations: 27.52 kB / 0.5215 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.269e-05/0.5042, allocations: 45.33 kB / 0.5215 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.5046, allocations: 128.1 kB / 0.5216 GB, free: 1.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.5046, allocations: 0 / 0.5216 GB, free: 1.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.5046, allocations: 0 / 0.5216 GB, free: 1.914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.5046, allocations: 0 / 0.5216 GB, free: 1.914 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006566/0.5053, allocations: 420.5 kB / 0.522 GB, free: 1.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.5053, allocations: 9.812 kB / 0.522 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.5054, allocations: 17.88 kB / 0.5221 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.5056, allocations: 217.9 kB / 0.5223 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.5057, allocations: 2.438 kB / 0.5223 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.5057, allocations: 8.906 kB / 0.5223 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.5059, allocations: 78.48 kB / 0.5224 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.506, allocations: 1.094 kB / 0.5224 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.506, allocations: 0 / 0.5224 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.506, allocations: 6.672 kB / 0.5224 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.5061, allocations: 41.38 kB / 0.5224 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000593/0.5067, allocations: 351.7 kB / 0.5227 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.5069, allocations: 62.02 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.7e-05/0.507, allocations: 28.61 kB / 0.5228 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.507, allocations: 9.266 kB / 0.5228 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.5071, allocations: 44.38 kB / 0.5229 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.5071, allocations: 0 / 0.5229 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001232/0.5083, allocations: 318.8 kB / 0.5232 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.5084, allocations: 52.88 kB / 0.5232 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.5086, allocations: 234.5 kB / 0.5235 GB, free: 468 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.5086, allocations: 30.45 kB / 0.5235 GB, free: 432 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.5087, allocations: 114.8 kB / 0.5236 GB, free: 324 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.5087, allocations: 40.19 kB / 0.5236 GB, free: 292 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.5088, allocations: 32.19 kB / 0.5237 GB, free: 264 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.568e-05/0.5089, allocations: 324.9 kB / 0.524 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.509, allocations: 43.69 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.5091, allocations: 48.97 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.5094, allocations: 112.1 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.5094, allocations: 0 / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002908/0.5097, allocations: 150.7 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.5097, allocations: 8.203 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5097, allocations: 1.719 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.5097, allocations: 3.938 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.5099, allocations: 37 kB / 0.5244 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.5099, allocations: 2.266 kB / 0.5244 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.69e-05/0.5099, allocations: 4.172 kB / 0.5244 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.51, allocations: 3.797 kB / 0.5244 GB, free: 15.78 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 (13): * Single equations (assignments): 13 * 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.0001178/0.5101, allocations: 132.5 kB / 0.5245 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.5101, allocations: 14.7 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.5106, allocations: 197.8 kB / 0.5247 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5106, allocations: 0.5156 kB / 0.5247 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5106, allocations: 5.656 kB / 0.5247 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.5106, allocations: 4.734 kB / 0.5247 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007558/0.5114, allocations: 498.2 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5114, allocations: 0 / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.942e-05/0.5115, allocations: 29.75 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5115, allocations: 4.031 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.036e-06/0.5115, allocations: 3.188 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.5115, allocations: 0.7031 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5115, allocations: 1.375 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.5119, allocations: 258.2 kB / 0.5255 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.512, allocations: 85.75 kB / 0.5256 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.512, allocations: 5.938 kB / 0.5256 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.5121, allocations: 9.906 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.5122, allocations: 8.922 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.5122, allocations: 3.266 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.5124, allocations: 172.2 kB / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.905e-06/0.5124, allocations: 3.938 kB / 0.5257 GB, free: 14.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.5126, allocations: 32.92 kB / 0.5258 GB, free: 14.75 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 (13): * Single equations (assignments): 13 * 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.001037/0.5137, allocations: 451 kB / 0.5262 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003003/0.514, allocations: 118.6 kB / 0.5263 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.514, allocations: 4 kB / 0.5263 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.5141, allocations: 60.42 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.5145, allocations: 26.69 kB / 0.5264 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006128/0.5151, allocations: 317.8 kB / 0.5267 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.5155, allocations: 0.7167 MB / 0.5274 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.974e-05/0.5156, allocations: 30.2 kB / 0.5274 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.5156, allocations: 20.95 kB / 0.5275 GB, free: 13.56 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5156, allocations: 0 / 0.5275 GB, free: 13.56 MB / 398.1 MB Notification: Performance of Templates: time 0.004577/0.5202, allocations: 1.612 MB / 0.529 GB, free: 12.89 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches