Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 180.4 kB / 16.41 MB, free: 5.73 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.25/1.25, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.000729/0.0007291, allocations: 90.3 kB / 270.9 MB, free: 8.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003138, allocations: 11.98 kB / 327 MB, free: 168 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2297, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3432/0.573, allocations: 130.5 MB / 0.4932 GB, free: 2.066 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.5749, allocations: 1.63 MB / 0.4948 GB, free: 2.016 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.5752, allocations: 5.812 kB / 0.4948 GB, free: 2.016 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005098/0.5757, allocations: 135.8 kB / 0.495 GB, free: 2.012 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005112/0.5762, allocations: 302.8 kB / 0.4952 GB, free: 1.996 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009214/0.5772, allocations: 345.1 kB / 0.4956 GB, free: 1.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008951/0.5781, allocations: 1.065 MB / 0.4966 GB, free: 1.977 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.5782, allocations: 75.88 kB / 0.4967 GB, free: 1.969 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005059/0.5787, allocations: 344.8 kB / 0.497 GB, free: 1.969 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.5791, allocations: 324.2 kB / 0.4973 GB, free: 1.965 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.5792, allocations: 14.5 kB / 0.4973 GB, free: 1.965 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.5794, allocations: 77.72 kB / 0.4974 GB, free: 1.961 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.494e-05/0.5795, allocations: 82.11 kB / 0.4975 GB, free: 1.961 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.73e-05/0.5796, allocations: 89.89 kB / 0.4976 GB, free: 1.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.5799, allocations: 369.6 kB / 0.4979 GB, free: 1.902 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5799, allocations: 0 / 0.4979 GB, free: 1.902 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5799, allocations: 6.938 kB / 0.4979 GB, free: 1.898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.5799, allocations: 0 / 0.4979 GB, free: 1.898 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008385/0.5808, allocations: 0.5204 MB / 0.4984 GB, free: 17.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.5808, allocations: 11.08 kB / 0.4985 GB, free: 17.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/0.5811, allocations: 44.8 kB / 0.4985 GB, free: 17.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.5814, allocations: 275.9 kB / 0.4988 GB, free: 17.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.5814, allocations: 23.69 kB / 0.4988 GB, free: 17.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.5815, allocations: 26 kB / 0.4988 GB, free: 17.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.5819, allocations: 299.3 kB / 0.4991 GB, free: 17.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.582, allocations: 3.281 kB / 0.4991 GB, free: 17.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.582, allocations: 12.12 kB / 0.4991 GB, free: 17.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.582, allocations: 5.844 kB / 0.4991 GB, free: 17.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003007/0.5823, allocations: 204.1 kB / 0.4993 GB, free: 17.15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.5839, allocations: 1.293 MB / 0.5006 GB, free: 16.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.5843, allocations: 184.2 kB / 0.5008 GB, free: 16.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.5844, allocations: 93.58 kB / 0.5008 GB, free: 16.24 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/0.5846, allocations: 179.1 kB / 0.501 GB, free: 16.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.5846, allocations: 37.03 kB / 0.501 GB, free: 16.01 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 1.502e-06/0.5846, allocations: 3.094 kB / 0.501 GB, free: 16.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.002265/0.5869, allocations: 1.034 MB / 0.5021 GB, free: 15.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.587, allocations: 51.41 kB / 0.5021 GB, free: 15.42 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.5872, allocations: 260 kB / 0.5024 GB, free: 15.31 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.5872, allocations: 31.7 kB / 0.5024 GB, free: 15.28 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.583e-05/0.5873, allocations: 183.9 kB / 0.5026 GB, free: 15.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.5874, allocations: 87.86 kB / 0.5026 GB, free: 15.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.5874, allocations: 10.16 kB / 0.5027 GB, free: 15.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.5875, allocations: 341.8 kB / 0.503 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.5877, allocations: 83.75 kB / 0.5031 GB, free: 14.78 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.5878, allocations: 178.1 kB / 0.5032 GB, free: 14.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.588, allocations: 111.8 kB / 0.5033 GB, free: 14.65 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.588, allocations: 0 / 0.5033 GB, free: 14.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000542/0.5885, allocations: 440.2 kB / 0.5038 GB, free: 14.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.5886, allocations: 14.8 kB / 0.5038 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.5886, allocations: 3.188 kB / 0.5038 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001379/0.5887, allocations: 41.17 kB / 0.5038 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.589, allocations: 78.58 kB / 0.5039 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.5907, allocations: 2.571 MB / 0.5064 GB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.5909, allocations: 21.64 kB / 0.5064 GB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.591, allocations: 20.7 kB / 0.5064 GB, free: 11.95 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001595/0.5911, allocations: 155.9 kB / 0.5066 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.5912, allocations: 33.77 kB / 0.5066 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005271/0.5917, allocations: 358.7 kB / 0.507 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.5917, allocations: 2.406 kB / 0.507 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5918, allocations: 1.062 kB / 0.507 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004938/0.5923, allocations: 0.6155 MB / 0.5076 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008475/0.5931, allocations: 0.7575 MB / 0.5083 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5931, allocations: 0 / 0.5083 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.5934, allocations: 58.84 kB / 0.5084 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-05/0.5935, allocations: 23.83 kB / 0.5084 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.5935, allocations: 11.03 kB / 0.5084 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007123/0.5942, allocations: 1.28 MB / 0.5096 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5942, allocations: 3.953 kB / 0.5096 GB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005407/0.5948, allocations: 0.5028 MB / 0.5101 GB, free: 9.145 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.5949, allocations: 106.6 kB / 0.5102 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.5949, allocations: 9.406 kB / 0.5103 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.5952, allocations: 19.11 kB / 0.5103 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.5952, allocations: 15.84 kB / 0.5103 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/0.5953, allocations: 17.66 kB / 0.5103 GB, free: 9.027 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002184/0.5955, allocations: 184.3 kB / 0.5105 GB, free: 8.949 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5955, allocations: 0 / 0.5105 GB, free: 8.949 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000509/0.596, allocations: 108.5 kB / 0.5106 GB, free: 8.938 MB / 394.7 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): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000228/0.5962, allocations: 128.5 kB / 0.5107 GB, free: 8.848 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007982/0.597, allocations: 446.4 kB / 0.5111 GB, free: 8.629 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.5971, allocations: 6.969 kB / 0.5111 GB, free: 8.625 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.5973, allocations: 218.1 kB / 0.5113 GB, free: 8.512 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009557/0.5983, allocations: 158.9 kB / 0.5115 GB, free: 8.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.5994, allocations: 0.8452 MB / 0.5123 GB, free: 8.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.5998, allocations: 0.7657 MB / 0.5131 GB, free: 7.316 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.004e-05/0.5999, allocations: 33.97 kB / 0.5131 GB, free: 7.309 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5999, allocations: 0 / 0.5131 GB, free: 7.309 MB / 394.7 MB Notification: Performance of Templates: time 0.009073/0.6089, allocations: 6.315 MB / 0.5193 GB, free: 6.781 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches