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/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 3.2.3+maint.om/package.mo", uses=false) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 106.1 kB / 18.4 MB, free: 4.66 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.001281/0.001281, allocations: 186.4 kB / 19.33 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.1 MB / 225.2 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 51.92 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08732/0.08866, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3781/0.4668, allocations: 150.6 MB / 0.5141 GB, free: 8.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.4682, allocations: 0.9751 MB / 0.515 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.741e-05/0.4684, allocations: 0 / 0.515 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.4687, allocations: 33.83 kB / 0.515 GB, free: 7.586 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008386/0.4696, allocations: 242.7 kB / 0.5153 GB, free: 7.348 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.47, allocations: 124.2 kB / 0.5154 GB, free: 7.227 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.4703, allocations: 163.3 kB / 0.5156 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/0.4704, allocations: 8 kB / 0.5156 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.4706, allocations: 87.56 kB / 0.5156 GB, free: 6.973 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.4708, allocations: 51.83 kB / 0.5157 GB, free: 6.922 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.4708, allocations: 4 kB / 0.5157 GB, free: 6.918 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006449/0.4715, allocations: 271.7 kB / 0.516 GB, free: 6.652 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.161e-05/0.4715, allocations: 19.97 kB / 0.516 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.199e-05/0.4716, allocations: 43.8 kB / 0.516 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005724/0.4722, allocations: 288.5 kB / 0.5163 GB, free: 6.312 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.4722, allocations: 3.984 kB / 0.5163 GB, free: 6.309 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4722, allocations: 0 / 0.5163 GB, free: 6.309 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.4722, allocations: 4 kB / 0.5163 GB, free: 6.305 MB / 446.1 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.0005259/0.4728, allocations: 395.9 kB / 0.5167 GB, free: 5.871 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.4728, allocations: 12.03 kB / 0.5167 GB, free: 5.859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/0.4748, allocations: 188.6 kB / 0.5169 GB, free: 5.676 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.4752, allocations: 208.5 kB / 0.5171 GB, free: 5.434 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.4752, allocations: 7.938 kB / 0.5171 GB, free: 5.426 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/0.4753, allocations: 11.91 kB / 0.5171 GB, free: 5.414 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/0.4758, allocations: 228 kB / 0.5173 GB, free: 5.176 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4758, allocations: 3.938 kB / 0.5173 GB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.4759, allocations: 8 kB / 0.5173 GB, free: 5.164 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4759, allocations: 0 / 0.5173 GB, free: 5.164 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/0.4763, allocations: 171.8 kB / 0.5175 GB, free: 4.996 MB / 446.1 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.0011/0.4774, allocations: 0.584 MB / 0.518 GB, free: 4.355 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.4778, allocations: 138.5 kB / 0.5182 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.4779, allocations: 68.83 kB / 0.5182 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.4779, allocations: 0 / 0.5182 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.478, allocations: 38.56 kB / 0.5183 GB, free: 4.094 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.081e-05/0.478, allocations: 0 / 0.5183 GB, free: 4.094 MB / 446.1 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.005267/0.4833, allocations: 1.314 MB / 0.5196 GB, free: 2.691 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.4833, allocations: 55.41 kB / 0.5196 GB, free: 2.625 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.864e-05/0.4834, allocations: 109.8 kB / 0.5197 GB, free: 2.508 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.4835, allocations: 33.7 kB / 0.5198 GB, free: 2.469 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.4835, allocations: 91.98 kB / 0.5198 GB, free: 2.375 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.4836, allocations: 67 kB / 0.5199 GB, free: 2.309 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.533e-05/0.4837, allocations: 53.69 kB / 0.52 GB, free: 2.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4838, allocations: 318.8 kB / 0.5203 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.484, allocations: 71.95 kB / 0.5203 GB, free: 1.859 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.4842, allocations: 107.2 kB / 0.5204 GB, free: 1.742 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.4845, allocations: 183.3 kB / 0.5206 GB, free: 1.551 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.4845, allocations: 0 / 0.5206 GB, free: 1.551 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005054/0.485, allocations: 266.1 kB / 0.5209 GB, free: 1.281 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4851, allocations: 8 kB / 0.5209 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4851, allocations: 0 / 0.5209 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000187/0.4853, allocations: 48.83 kB / 0.5209 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.4856, allocations: 55.89 kB / 0.521 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004357/0.4861, allocations: 0.568 MB / 0.5215 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.4863, allocations: 12.02 kB / 0.5215 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.4863, allocations: 20 kB / 0.5216 GB, free: 0.543 MB / 446.1 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.0001194/0.4864, allocations: 125.8 kB / 0.5217 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.4865, allocations: 7.906 kB / 0.5217 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007316/0.4872, allocations: 348.5 kB / 0.522 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.4873, allocations: 7.938 kB / 0.522 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4873, allocations: 0 / 0.522 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4873, allocations: 0 / 0.522 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009941/0.4883, allocations: 0.6275 MB / 0.5226 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.4883, allocations: 4.094 kB / 0.5226 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/0.4887, allocations: 66.33 kB / 0.5227 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.397e-05/0.4888, allocations: 16.84 kB / 0.5227 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.4888, allocations: 19.92 kB / 0.5227 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.4899, allocations: 1.367 MB / 0.5241 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4899, allocations: 0 / 0.5241 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006953/0.4906, allocations: 434.6 kB / 0.5245 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.4907, allocations: 88.98 kB / 0.5246 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.4907, allocations: 4 kB / 0.5246 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.4909, allocations: 8 kB / 0.5246 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.491, allocations: 28.03 kB / 0.5246 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.491, allocations: 27.98 kB / 0.5246 GB, free: 13.11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.994e-05/0.4911, allocations: 87.27 kB / 0.5247 GB, free: 13.03 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4911, allocations: 3.938 kB / 0.5247 GB, free: 13.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004158/0.4915, allocations: 80 kB / 0.5248 GB, free: 12.95 MB / 462.1 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.0003726/0.4919, allocations: 144.1 kB / 0.5249 GB, free: 12.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000542/0.4925, allocations: 204.3 kB / 0.5251 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.4925, allocations: 0 / 0.5251 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.4929, allocations: 226.8 kB / 0.5253 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.4933, allocations: 41.62 kB / 0.5254 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008863/0.4942, allocations: 0.5025 MB / 0.5259 GB, free: 11.78 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.4946, allocations: 0.7046 MB / 0.5266 GB, free: 11.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.4948, allocations: 55.41 kB / 0.5266 GB, free: 11 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4948, allocations: 3.938 kB / 0.5266 GB, free: 10.99 MB / 462.1 MB Notification: Performance of Templates: time 0.006878/0.5016, allocations: 3.835 MB / 0.5304 GB, free: 7.152 MB / 462.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches