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.001079/0.001079, allocations: 108.4 kB / 18.4 MB, free: 4.688 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.001152/0.001152, allocations: 186.2 kB / 19.34 MB, free: 3.766 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.28/1.28, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001326/0.001326, allocations: 43.94 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07671/0.07805, allocations: 46.63 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3088/0.3868, allocations: 150.6 MB / 0.5141 GB, free: 8.609 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.3881, allocations: 0.9714 MB / 0.515 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.3881, allocations: 4 kB / 0.515 GB, free: 7.637 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.3884, allocations: 31.75 kB / 0.515 GB, free: 7.605 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005857/0.389, allocations: 242.7 kB / 0.5153 GB, free: 7.367 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.3894, allocations: 116.3 kB / 0.5154 GB, free: 7.254 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.3896, allocations: 167.3 kB / 0.5155 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.3896, allocations: 11.97 kB / 0.5156 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.3898, allocations: 89.45 kB / 0.5156 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.366e-05/0.3899, allocations: 43.84 kB / 0.5157 GB, free: 6.949 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.39, allocations: 8 kB / 0.5157 GB, free: 6.941 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004981/0.3905, allocations: 271.7 kB / 0.516 GB, free: 6.676 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.3906, allocations: 19.97 kB / 0.516 GB, free: 6.656 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.04e-05/0.3906, allocations: 47.73 kB / 0.516 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.3911, allocations: 288.6 kB / 0.5163 GB, free: 6.332 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3911, allocations: 0 / 0.5163 GB, free: 6.332 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3911, allocations: 0 / 0.5163 GB, free: 6.332 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3911, allocations: 0 / 0.5163 GB, free: 6.332 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.0005005/0.3916, allocations: 399.9 kB / 0.5167 GB, free: 5.895 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3916, allocations: 8.031 kB / 0.5167 GB, free: 5.887 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/0.3937, allocations: 192.6 kB / 0.5169 GB, free: 5.699 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.394, allocations: 204.4 kB / 0.5171 GB, free: 5.461 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.3941, allocations: 15.92 kB / 0.5171 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.3941, allocations: 11.91 kB / 0.5171 GB, free: 5.434 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005075/0.3946, allocations: 228 kB / 0.5173 GB, free: 5.195 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3946, allocations: 0 / 0.5173 GB, free: 5.195 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.3947, allocations: 4 kB / 0.5173 GB, free: 5.191 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3947, allocations: 4 kB / 0.5173 GB, free: 5.188 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004437/0.3951, allocations: 171.8 kB / 0.5175 GB, free: 5.02 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.001012/0.3962, allocations: 0.584 MB / 0.518 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.3965, allocations: 138.5 kB / 0.5182 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.3967, allocations: 68.83 kB / 0.5182 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.3967, allocations: 7.984 kB / 0.5183 GB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.3967, allocations: 34.56 kB / 0.5183 GB, free: 4.113 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 2.665e-06/0.3967, allocations: 0 / 0.5183 GB, free: 4.113 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.005223/0.402, allocations: 1.316 MB / 0.5196 GB, free: 2.707 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.402, allocations: 51.41 kB / 0.5196 GB, free: 2.645 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9e-05/0.4021, allocations: 113.8 kB / 0.5197 GB, free: 2.523 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.4021, allocations: 29.7 kB / 0.5198 GB, free: 2.488 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.742e-05/0.4022, allocations: 95.97 kB / 0.5198 GB, free: 2.391 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.4023, allocations: 71 kB / 0.5199 GB, free: 2.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.237e-05/0.4024, allocations: 53.69 kB / 0.52 GB, free: 2.262 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.4025, allocations: 318.8 kB / 0.5203 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.4027, allocations: 71.97 kB / 0.5203 GB, free: 1.871 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.4029, allocations: 107.2 kB / 0.5204 GB, free: 1.754 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/0.4032, allocations: 179.3 kB / 0.5206 GB, free: 1.566 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.4032, allocations: 0 / 0.5206 GB, free: 1.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005073/0.4038, allocations: 270.1 kB / 0.5209 GB, free: 1.293 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4038, allocations: 4 kB / 0.5209 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4038, allocations: 0 / 0.5209 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.404, allocations: 48.83 kB / 0.5209 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.4043, allocations: 56.77 kB / 0.521 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004266/0.4048, allocations: 0.5758 MB / 0.5215 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.4049, allocations: 0 / 0.5215 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/0.405, allocations: 28 kB / 0.5216 GB, free: 0.5547 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.0001153/0.4051, allocations: 125.8 kB / 0.5217 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.4052, allocations: 11.91 kB / 0.5217 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007505/0.4059, allocations: 341.8 kB / 0.522 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4059, allocations: 0 / 0.522 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.406, allocations: 3.938 kB / 0.522 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.406, allocations: 89 kB / 0.5221 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.4061, allocations: 0 / 0.5221 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.4063, allocations: 8 kB / 0.5221 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.4063, allocations: 27.95 kB / 0.5221 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008173/0.4072, allocations: 333.5 kB / 0.5225 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006463/0.4078, allocations: 458.9 kB / 0.5229 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001772/0.408, allocations: 84.12 kB / 0.523 GB, free: 15.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.738e-05/0.4081, allocations: 87.27 kB / 0.5231 GB, free: 14.96 MB / 462.1 MB Notification: Performance of Backend: time 6.91e-07/0.4081, allocations: 7.938 kB / 0.5231 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.4092, allocations: 323.3 kB / 0.5234 GB, free: 14.62 MB / 462.1 MB Notification: Performance of SimCode: time 0.0009419/0.4101, allocations: 0.8607 MB / 0.5242 GB, free: 13.72 MB / 462.1 MB Notification: Performance of Templates: time 0.01035/0.4205, allocations: 6.827 MB / 0.5309 GB, free: 6.887 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