Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 187 kB / 17.91 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009692/0.0009692, allocations: 94.09 kB / 271.2 MB, free: 8.445 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007461/0.0007461, allocations: 35.94 kB / 327.2 MB, free: 340 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1908, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3041/0.495, allocations: 148.3 MB / 0.5099 GB, free: 416 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.4961, allocations: 1.008 MB / 0.5109 GB, free: 396 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.03e-05/0.4962, allocations: 2.812 kB / 0.5109 GB, free: 396 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.4966, allocations: 30.77 kB / 0.5109 GB, free: 396 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005957/0.4972, allocations: 203.3 kB / 0.5111 GB, free: 388 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.4975, allocations: 112.6 kB / 0.5112 GB, free: 380 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003622/0.4979, allocations: 204.9 kB / 0.5114 GB, free: 380 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.513e-05/0.498, allocations: 5.266 kB / 0.5114 GB, free: 380 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.4982, allocations: 83.23 kB / 0.5115 GB, free: 380 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.4983, allocations: 59.7 kB / 0.5116 GB, free: 380 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.4984, allocations: 7.562 kB / 0.5116 GB, free: 376 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000646/0.499, allocations: 270 kB / 0.5118 GB, free: 372 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.4991, allocations: 16.52 kB / 0.5119 GB, free: 372 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.049e-05/0.4992, allocations: 47.3 kB / 0.5119 GB, free: 372 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.4995, allocations: 284.2 kB / 0.5122 GB, free: 360 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4995, allocations: 6.406 kB / 0.5122 GB, free: 360 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4995, allocations: 1.203 kB / 0.5122 GB, free: 360 kB / 378.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.4996, allocations: 0 / 0.5122 GB, free: 360 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005644/0.5001, allocations: 405.2 kB / 0.5126 GB, free: 15.97 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.5002, allocations: 10.78 kB / 0.5126 GB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.5021, allocations: 189.7 kB / 0.5128 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.5024, allocations: 208.1 kB / 0.513 GB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.5024, allocations: 9.469 kB / 0.513 GB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.5024, allocations: 6.594 kB / 0.513 GB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.5029, allocations: 226 kB / 0.5132 GB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5029, allocations: 0 / 0.5132 GB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.503, allocations: 2.25 kB / 0.5132 GB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.503, allocations: 8.078 kB / 0.5132 GB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/0.5033, allocations: 170.1 kB / 0.5134 GB, free: 15.7 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009185/0.5043, allocations: 0.5838 MB / 0.5139 GB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.5046, allocations: 135.6 kB / 0.5141 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.5047, allocations: 78.73 kB / 0.5141 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.5047, allocations: 4 kB / 0.5141 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.5048, allocations: 37.73 kB / 0.5142 GB, free: 15.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.5048, allocations: 0 / 0.5142 GB, free: 15.16 MB / 394.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.004976/0.5098, allocations: 1.299 MB / 0.5154 GB, free: 14.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.5098, allocations: 54.34 kB / 0.5155 GB, free: 14.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.5099, allocations: 112.6 kB / 0.5156 GB, free: 14.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.5099, allocations: 27.2 kB / 0.5156 GB, free: 14.47 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.51, allocations: 93.55 kB / 0.5157 GB, free: 14.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.661e-05/0.51, allocations: 67.91 kB / 0.5158 GB, free: 14.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.5102, allocations: 63.16 kB / 0.5158 GB, free: 14.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5103, allocations: 322.5 kB / 0.5161 GB, free: 14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.5104, allocations: 70.84 kB / 0.5162 GB, free: 14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.5106, allocations: 104.8 kB / 0.5163 GB, free: 13.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.5109, allocations: 182.8 kB / 0.5165 GB, free: 13.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.511, allocations: 8 kB / 0.5165 GB, free: 13.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004672/0.5114, allocations: 256.4 kB / 0.5167 GB, free: 13.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.5115, allocations: 5.406 kB / 0.5167 GB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5115, allocations: 3.875 kB / 0.5168 GB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001745/0.5116, allocations: 49.84 kB / 0.5168 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.512, allocations: 56.8 kB / 0.5169 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003958/0.5124, allocations: 0.5655 MB / 0.5174 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.5125, allocations: 9.328 kB / 0.5174 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/0.5126, allocations: 25.97 kB / 0.5174 GB, free: 13.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.5127, allocations: 129.4 kB / 0.5176 GB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.5128, allocations: 13.16 kB / 0.5176 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007624/0.5135, allocations: 343.8 kB / 0.5179 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.5135, allocations: 6.062 kB / 0.5179 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5136, allocations: 0.9375 kB / 0.5179 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.5136, allocations: 0 / 0.5179 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009249/0.5145, allocations: 0.6324 MB / 0.5185 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5145, allocations: 0.6875 kB / 0.5185 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/0.5148, allocations: 64.27 kB / 0.5186 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.658e-05/0.5149, allocations: 16.75 kB / 0.5186 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.5149, allocations: 19.3 kB / 0.5186 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008019/0.5158, allocations: 1.265 MB / 0.5199 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5158, allocations: 4.938 kB / 0.5199 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02523/0.541, allocations: 5.145 MB / 0.5249 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.5411, allocations: 83.55 kB / 0.525 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.5411, allocations: 2.719 kB / 0.525 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.5413, allocations: 10 kB / 0.525 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.5414, allocations: 23.53 kB / 0.525 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.5414, allocations: 32.27 kB / 0.525 GB, free: 8.828 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.11e-05/0.5415, allocations: 87.56 kB / 0.5251 GB, free: 8.754 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5415, allocations: 0 / 0.5251 GB, free: 8.754 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007454/0.5423, allocations: 263.6 kB / 0.5254 GB, free: 8.742 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001081/0.5433, allocations: 202.9 kB / 0.5256 GB, free: 8.637 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004338/0.5438, allocations: 205.4 kB / 0.5258 GB, free: 8.629 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5438, allocations: 4.484 kB / 0.5258 GB, free: 8.629 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.5441, allocations: 215.2 kB / 0.526 GB, free: 8.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.5445, allocations: 51.48 kB / 0.526 GB, free: 8.512 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009775/0.5455, allocations: 0.8159 MB / 0.5268 GB, free: 7.945 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.5458, allocations: 0.7192 MB / 0.5275 GB, free: 7.246 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005687/0.5463, allocations: 125.1 kB / 0.5276 GB, free: 7.188 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.5466, allocations: 83.72 kB / 0.5277 GB, free: 7.168 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5466, allocations: 0 / 0.5277 GB, free: 7.168 MB / 394.7 MB Notification: Performance of Templates: time 0.02123/0.5679, allocations: 17.8 MB / 0.5451 GB, free: 14.93 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches