Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 101.5 kB / 17.72 MB, free: 5.371 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.001242/0.001242, allocations: 192 kB / 18.66 MB, free: 4.441 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.426/1.426, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.002071/0.002071, allocations: 51.92 kB / 328.1 MB, free: 3.777 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1135, allocations: 46.62 MB / 374.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3481/0.4616, allocations: 144 MB / 0.5066 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.4639, allocations: 1.712 MB / 0.5082 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.4641, allocations: 7.938 kB / 0.5082 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005603/0.4647, allocations: 178.9 kB / 0.5084 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005146/0.4652, allocations: 330.2 kB / 0.5087 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009116/0.4662, allocations: 419.6 kB / 0.5091 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007622/0.4669, allocations: 0.8407 MB / 0.5099 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.4671, allocations: 100.7 kB / 0.51 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005565/0.4677, allocations: 406.6 kB / 0.5104 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.4681, allocations: 319 kB / 0.5107 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.598e-05/0.4682, allocations: 35.88 kB / 0.5108 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002878/0.4685, allocations: 139.8 kB / 0.5109 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.778e-05/0.4686, allocations: 93.88 kB / 0.511 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.4687, allocations: 187.3 kB / 0.5112 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004741/0.4692, allocations: 488.4 kB / 0.5116 GB, free: 10.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4692, allocations: 4 kB / 0.5116 GB, free: 10.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4693, allocations: 0 / 0.5116 GB, free: 10.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.4693, allocations: 4 kB / 0.5116 GB, free: 10.29 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007797/0.4701, allocations: 0.5932 MB / 0.5122 GB, free: 9.652 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.4701, allocations: 12.03 kB / 0.5122 GB, free: 9.641 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.169e-05/0.4702, allocations: 58.73 kB / 0.5123 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/0.4704, allocations: 44.55 kB / 0.5123 GB, free: 9.531 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.4709, allocations: 295.7 kB / 0.5126 GB, free: 9.203 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.4709, allocations: 16.94 kB / 0.5126 GB, free: 9.188 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.4709, allocations: 24.56 kB / 0.5126 GB, free: 9.164 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004679/0.4714, allocations: 305.3 kB / 0.5129 GB, free: 8.848 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.4714, allocations: 0 / 0.5129 GB, free: 8.848 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.4715, allocations: 12 kB / 0.5129 GB, free: 8.836 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.4715, allocations: 12 kB / 0.513 GB, free: 8.824 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.4718, allocations: 206.1 kB / 0.5132 GB, free: 8.625 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.4734, allocations: 1.285 MB / 0.5144 GB, free: 7.215 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.4738, allocations: 194.6 kB / 0.5146 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.4739, allocations: 96.83 kB / 0.5147 GB, free: 6.918 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.4741, allocations: 171.2 kB / 0.5149 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.4741, allocations: 38.56 kB / 0.5149 GB, free: 6.668 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.483e-06/0.4741, allocations: 0 / 0.5149 GB, free: 6.668 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.002273/0.4764, allocations: 1.038 MB / 0.5159 GB, free: 5.531 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.4764, allocations: 51.41 kB / 0.516 GB, free: 5.469 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.4767, allocations: 262.5 kB / 0.5162 GB, free: 5.203 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.4767, allocations: 33.7 kB / 0.5162 GB, free: 5.164 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.4768, allocations: 168.2 kB / 0.5164 GB, free: 4.996 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/0.4769, allocations: 98.62 kB / 0.5165 GB, free: 4.898 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.781e-05/0.477, allocations: 61.7 kB / 0.5165 GB, free: 4.832 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4771, allocations: 342.8 kB / 0.5169 GB, free: 4.488 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.4772, allocations: 79.91 kB / 0.517 GB, free: 4.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.4774, allocations: 183.7 kB / 0.5171 GB, free: 4.188 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.4778, allocations: 291.8 kB / 0.5174 GB, free: 3.859 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4778, allocations: 0 / 0.5174 GB, free: 3.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000566/0.4784, allocations: 447.7 kB / 0.5178 GB, free: 3.391 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4784, allocations: 8 kB / 0.5178 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.4784, allocations: 4 kB / 0.5178 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001443/0.4786, allocations: 42.11 kB / 0.5179 GB, free: 3.332 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.4789, allocations: 80.77 kB / 0.518 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.4807, allocations: 2.76 MB / 0.5207 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.4809, allocations: 11.98 kB / 0.5207 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.4809, allocations: 16 kB / 0.5207 GB, free: 192 kB / 446.1 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001596/0.4811, allocations: 161.6 kB / 0.5208 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/0.4812, allocations: 23.77 kB / 0.5209 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000515/0.4817, allocations: 362.7 kB / 0.5212 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4817, allocations: 0 / 0.5212 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4817, allocations: 0 / 0.5212 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004902/0.4822, allocations: 0.623 MB / 0.5218 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009169/0.4832, allocations: 0.7553 MB / 0.5225 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4832, allocations: 0 / 0.5225 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.4835, allocations: 55.91 kB / 0.5226 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.181e-05/0.4836, allocations: 20.84 kB / 0.5226 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.4836, allocations: 7.984 kB / 0.5226 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008639/0.4845, allocations: 1.383 MB / 0.524 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4845, allocations: 2.094 kB / 0.524 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005855/0.4851, allocations: 0.5147 MB / 0.5245 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-05/0.4852, allocations: 104.8 kB / 0.5246 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.4852, allocations: 8 kB / 0.5246 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.4854, allocations: 8 kB / 0.5246 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.4855, allocations: 20.03 kB / 0.5246 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.4855, allocations: 15.98 kB / 0.5246 GB, free: 11.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.4857, allocations: 182 kB / 0.5248 GB, free: 11.53 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4857, allocations: 0 / 0.5248 GB, free: 11.53 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000428/0.4861, allocations: 107.9 kB / 0.5249 GB, free: 11.43 MB / 462.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): 24 * 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.001018/0.4871, allocations: 1.091 MB / 0.526 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006733/0.4878, allocations: 449.7 kB / 0.5264 GB, free: 9.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.4878, allocations: 4 kB / 0.5264 GB, free: 9.816 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002551/0.4881, allocations: 218.5 kB / 0.5266 GB, free: 9.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009246/0.489, allocations: 174.9 kB / 0.5268 GB, free: 9.426 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.4926, allocations: 3.253 MB / 0.53 GB, free: 5.961 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.4929, allocations: 0.7606 MB / 0.5307 GB, free: 5.176 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000235/0.4932, allocations: 54.94 kB / 0.5308 GB, free: 5.117 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.4933, allocations: 95.41 kB / 0.5308 GB, free: 5.023 MB / 462.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4933, allocations: 0 / 0.5308 GB, free: 5.023 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04421/0.5376, allocations: 9.394 MB / 0.54 GB, free: 11.57 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.67, allocations: 8.562 kB / 0.54 GB, free: 11.56 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches