Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_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.001122/0.001122, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 206.3 kB / 16.79 MB, free: 6.84 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 / 222.7 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2788/0.2788, allocations: 43.5 MB / 313.5 MB, free: 8.508 MB / 254.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.001283/0.001283, allocations: 67.91 kB / 382.1 MB, free: 8.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0942/0.0955, allocations: 57.79 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.31/0.4055, allocations: 146 MB / 0.5722 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.4161, allocations: 5.728 MB / 0.5778 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008991/0.417, allocations: 23.81 kB / 0.5778 GB, free: 4.414 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.4181, allocations: 286.4 kB / 0.5781 GB, free: 4.133 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.4204, allocations: 0.8127 MB / 0.5789 GB, free: 3.316 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003176/0.4236, allocations: 0.9287 MB / 0.5798 GB, free: 2.402 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002734/0.4264, allocations: 2.675 MB / 0.5824 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007099/0.4271, allocations: 409.4 kB / 0.5828 GB, free: 15.33 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.4285, allocations: 0.6653 MB / 0.5834 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.4296, allocations: 0.7319 MB / 0.5841 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.4298, allocations: 32 kB / 0.5842 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.4309, allocations: 0.5263 MB / 0.5847 GB, free: 13.37 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002834/0.4312, allocations: 239.2 kB / 0.5849 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004882/0.4317, allocations: 374.2 kB / 0.5853 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.4332, allocations: 1.106 MB / 0.5863 GB, free: 11.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.4333, allocations: 0 / 0.5863 GB, free: 11.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4333, allocations: 0 / 0.5863 GB, free: 11.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.4333, allocations: 0 / 0.5863 GB, free: 11.66 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002146/0.4354, allocations: 1.057 MB / 0.5874 GB, free: 10.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.4355, allocations: 8.031 kB / 0.5874 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001221/0.4356, allocations: 102.6 kB / 0.5875 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003631/0.436, allocations: 92.08 kB / 0.5876 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007154/0.4367, allocations: 0.5054 MB / 0.5881 GB, free: 9.797 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.913e-05/0.4368, allocations: 101 kB / 0.5882 GB, free: 9.688 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.589e-05/0.4369, allocations: 56.36 kB / 0.5882 GB, free: 9.633 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.4381, allocations: 0.8227 MB / 0.589 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.4381, allocations: 3.938 kB / 0.589 GB, free: 8.738 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.299e-05/0.4382, allocations: 20 kB / 0.589 GB, free: 8.719 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.031e-05/0.4382, allocations: 36.98 kB / 0.5891 GB, free: 8.684 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009846/0.4392, allocations: 0.6595 MB / 0.5897 GB, free: 8.023 MB / 462.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.004308/0.4435, allocations: 3.961 MB / 0.5936 GB, free: 3.785 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007787/0.4443, allocations: 428.2 kB / 0.594 GB, free: 3.355 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.4446, allocations: 205.4 kB / 0.5942 GB, free: 3.152 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005437/0.4452, allocations: 0.7366 MB / 0.5949 GB, free: 2.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.4452, allocations: 42.88 kB / 0.5949 GB, free: 2.199 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.224e-06/0.4452, allocations: 0 / 0.5949 GB, free: 2.199 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.002984/0.4482, allocations: 1.539 MB / 0.5965 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.4483, allocations: 132.5 kB / 0.5966 GB, free: 440 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005863/0.4489, allocations: 0.5732 MB / 0.5971 GB, free: 15.85 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.4489, allocations: 33.7 kB / 0.5972 GB, free: 15.81 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.4492, allocations: 355 kB / 0.5975 GB, free: 15.46 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.4493, allocations: 157.7 kB / 0.5977 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.4495, allocations: 146.5 kB / 0.5978 GB, free: 15.15 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4496, allocations: 374.8 kB / 0.5982 GB, free: 14.78 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.45, allocations: 217.9 kB / 0.5984 GB, free: 14.56 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005231/0.4505, allocations: 0.5201 MB / 0.5989 GB, free: 13.91 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008662/0.4514, allocations: 0.7523 MB / 0.5996 GB, free: 13.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4514, allocations: 3.938 kB / 0.5996 GB, free: 13.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001432/0.4528, allocations: 0.9132 MB / 0.6005 GB, free: 12.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4528, allocations: 12.12 kB / 0.6005 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.4529, allocations: 15.94 kB / 0.6005 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.4541, allocations: 290.2 kB / 0.6008 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.4545, allocations: 119.8 kB / 0.6009 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009275/0.4554, allocations: 0.8879 MB / 0.6018 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004308/0.4559, allocations: 43.97 kB / 0.6018 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.146e-05/0.4559, allocations: 36 kB / 0.6019 GB, free: 10.68 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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 {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002729/0.4562, allocations: 257.5 kB / 0.6021 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.4563, allocations: 67.16 kB / 0.6022 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.4575, allocations: 0.7664 MB / 0.6029 GB, free: 9.559 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.4575, allocations: 8 kB / 0.6029 GB, free: 9.551 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.4575, allocations: 3.984 kB / 0.6029 GB, free: 9.547 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.4575, allocations: 3.938 kB / 0.6029 GB, free: 9.543 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.4593, allocations: 1.411 MB / 0.6043 GB, free: 8.035 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4593, allocations: 4 kB / 0.6043 GB, free: 8.031 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009855/0.4603, allocations: 204 kB / 0.6045 GB, free: 7.832 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.021e-05/0.4604, allocations: 24.84 kB / 0.6045 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.4604, allocations: 15.98 kB / 0.6046 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.4622, allocations: 2.685 MB / 0.6072 GB, free: 4.84 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4622, allocations: 0 / 0.6072 GB, free: 4.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.4635, allocations: 1.015 MB / 0.6082 GB, free: 3.77 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/0.4638, allocations: 200.2 kB / 0.6084 GB, free: 3.555 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.005e-05/0.4639, allocations: 11.5 kB / 0.6084 GB, free: 3.547 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.4643, allocations: 43.88 kB / 0.6084 GB, free: 3.504 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.817e-05/0.4644, allocations: 35.89 kB / 0.6084 GB, free: 3.469 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.117e-05/0.4645, allocations: 23.98 kB / 0.6085 GB, free: 3.445 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004488/0.4649, allocations: 427 kB / 0.6089 GB, free: 3.031 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4649, allocations: 0 / 0.6089 GB, free: 3.031 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007286/0.4657, allocations: 224 kB / 0.6091 GB, free: 2.812 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.001898/0.4676, allocations: 1.724 MB / 0.6108 GB, free: 1.035 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.4687, allocations: 0.59 MB / 0.6113 GB, free: 452 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4687, allocations: 1.5 kB / 0.6113 GB, free: 452 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009657/0.4697, allocations: 458.9 kB / 0.6118 GB, free: 15.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.4713, allocations: 359.5 kB / 0.6121 GB, free: 15.63 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009145/0.4804, allocations: 6.898 MB / 0.6189 GB, free: 8.371 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.481, allocations: 0.9345 MB / 0.6198 GB, free: 7.406 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007032/0.4817, allocations: 208.5 kB / 0.62 GB, free: 7.203 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.482, allocations: 239.4 kB / 0.6202 GB, free: 6.969 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4821, allocations: 4 kB / 0.6202 GB, free: 6.965 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2004/0.6825, allocations: 21.54 MB / 0.6412 GB, free: 154 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.6827, allocations: 299.9 kB / 0.6415 GB, free: 153.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/3.093, allocations: 0 / 0.6415 GB, free: 153.6 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches