Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 103.9 kB / 18.39 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.002192/0.002192, 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.741/1.741, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.00173/0.00173, allocations: 52.31 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1204, allocations: 46.62 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.3048/0.4253, allocations: 27.05 MB / 402.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007085/0.4324, allocations: 4.163 MB / 407 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005638/0.433, allocations: 7.781 kB / 407 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.4341, allocations: 203.6 kB / 407.2 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.4353, allocations: 339.6 kB / 407.6 MB, free: 8.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007191/0.4425, allocations: 1.47 MB / 409 MB, free: 7.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001695/0.4442, allocations: 0.8825 MB / 409.9 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.4445, allocations: 110.1 kB / 410 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009715/0.4543, allocations: 4.061 MB / 414.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005865/0.4549, allocations: 278.3 kB / 414.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.873e-05/0.455, allocations: 31.81 kB / 414.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/0.4573, allocations: 0.7173 MB / 415.1 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.4574, allocations: 100.3 kB / 415.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003453/0.4578, allocations: 198.3 kB / 415.4 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.4594, allocations: 0.8432 MB / 416.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4594, allocations: 1.156 kB / 416.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4594, allocations: 4 kB / 416.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.4594, allocations: 0 / 416.3 MB, free: 4.555 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001103/0.4606, allocations: 0.6411 MB / 416.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4606, allocations: 8.719 kB / 416.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006678/0.4613, allocations: 61.31 kB / 417 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.4618, allocations: 295.2 kB / 417.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.4618, allocations: 18.62 kB / 417.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.4619, allocations: 30.25 kB / 417.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006756/0.4626, allocations: 342 kB / 417.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/0.4626, allocations: 5.406 kB / 417.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.4626, allocations: 12.22 kB / 417.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.4627, allocations: 6.969 kB / 417.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/0.463, allocations: 207.6 kB / 417.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01585/0.4789, allocations: 5.918 MB / 423.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/0.4794, allocations: 181.2 kB / 424 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.4796, allocations: 90.2 kB / 424 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01266/0.4923, allocations: 3.879 MB / 427.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/0.4923, allocations: 38.56 kB / 428 MB, free: 10.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 3.016e-06/0.4924, allocations: 0 / 428 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.007721/0.5001, allocations: 1.411 MB / 429.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.5002, allocations: 55.41 kB / 429.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.5005, allocations: 258.6 kB / 429.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/0.5006, allocations: 33.7 kB / 429.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.5008, allocations: 184 kB / 429.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.5009, allocations: 94.64 kB / 430 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.5011, allocations: 69.69 kB / 430.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5013, allocations: 338.8 kB / 430.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.5014, allocations: 91.75 kB / 430.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.5017, allocations: 198.8 kB / 430.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006116/0.5023, allocations: 295 kB / 431 MB, free: 7.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5023, allocations: 0 / 431 MB, free: 7.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008892/0.5032, allocations: 402.6 kB / 431.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.5032, allocations: 4 kB / 431.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.5033, allocations: 4 kB / 431.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004908/0.5082, allocations: 0.942 MB / 432.3 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.5085, allocations: 66.09 kB / 432.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.5104, allocations: 1.989 MB / 434.4 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.5107, allocations: 12 kB / 434.4 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.5108, allocations: 12 kB / 434.4 MB, free: 3.766 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002589/0.511, allocations: 159 kB / 434.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.5111, allocations: 31.56 kB / 434.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007869/0.5119, allocations: 494.7 kB / 435 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.512, allocations: 7.984 kB / 435.1 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.512, allocations: 0 / 435.1 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007604/0.5128, allocations: 0.7166 MB / 435.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.5143, allocations: 0.9417 MB / 436.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.5143, allocations: 0 / 436.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.5146, allocations: 51.91 kB / 436.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002067/0.5167, allocations: 316.3 kB / 437.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.5168, allocations: 11.98 kB / 437.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005312/0.5173, allocations: 0.6343 MB / 437.7 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5173, allocations: 12.08 kB / 437.7 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.5185, allocations: 0.7143 MB / 438.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.5188, allocations: 112.6 kB / 438.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.368e-05/0.5189, allocations: 4 kB / 438.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.5192, allocations: 8 kB / 438.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.5192, allocations: 16.05 kB / 438.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.5192, allocations: 15.98 kB / 438.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.5194, allocations: 182 kB / 438.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5194, allocations: 0 / 438.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001092/0.5205, allocations: 187.9 kB / 439 MB, free: 14.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/0.5216, allocations: 271.9 kB / 439.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.5226, allocations: 466.3 kB / 439.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5227, allocations: 3.938 kB / 439.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005821/0.5232, allocations: 228.5 kB / 439.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.5244, allocations: 170 kB / 440.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.5261, allocations: 0.8165 MB / 440.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.5264, allocations: 0.776 MB / 441.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.5266, allocations: 39.42 kB / 441.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5266, allocations: 0 / 441.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of Templates: time 0.01548/0.5421, allocations: 8.46 MB / 450.2 MB, free: 3.648 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches