Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001615/0.001615, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001878/0.001878, allocations: 204.7 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 55.91 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2388, allocations: 50.54 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07546/0.3143, allocations: 65.71 MB / 474.5 MB, free: 15.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007486/0.3218, allocations: 5.465 MB / 479.9 MB, free: 10.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004373/0.3223, allocations: 11.94 kB / 480 MB, free: 10.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.3234, allocations: 357.9 kB / 480.3 MB, free: 9.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.3246, allocations: 0.5011 MB / 480.8 MB, free: 9.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01815/0.3427, allocations: 7.434 MB / 488.2 MB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002025/0.3448, allocations: 1.547 MB / 489.8 MB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003534/0.3452, allocations: 216.8 kB / 490 MB, free: 52 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000977/0.3461, allocations: 0.627 MB / 490.6 MB, free: 15.42 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008351/0.347, allocations: 0.5606 MB / 491.2 MB, free: 14.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.3471, allocations: 84 kB / 491.3 MB, free: 14.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01831/0.3655, allocations: 10.24 MB / 0.4897 GB, free: 4.527 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005031/0.366, allocations: 323.1 kB / 0.4901 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006412/0.3667, allocations: 438.5 kB / 0.4905 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01271/0.3794, allocations: 5.974 MB / 0.4963 GB, free: 13.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3794, allocations: 0 / 0.4963 GB, free: 13.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3794, allocations: 4 kB / 0.4963 GB, free: 13.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.3795, allocations: 0 / 0.4963 GB, free: 13.79 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003896/0.3834, allocations: 1.615 MB / 0.4979 GB, free: 12.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.3834, allocations: 12.03 kB / 0.4979 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.3836, allocations: 98.52 kB / 0.498 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004443/0.384, allocations: 95.5 kB / 0.4981 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006577/0.3847, allocations: 441.1 kB / 0.4985 GB, free: 11.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/0.3848, allocations: 49.31 kB / 0.4986 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.3849, allocations: 67.95 kB / 0.4986 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.3867, allocations: 0.8029 MB / 0.4994 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.3867, allocations: 4 kB / 0.4994 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.523e-05/0.3868, allocations: 28 kB / 0.4994 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.3868, allocations: 16 kB / 0.4994 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.3889, allocations: 1.028 MB / 0.5005 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01899/0.4079, allocations: 12.8 MB / 0.5129 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.4097, allocations: 0.7377 MB / 0.5137 GB, free: 9.754 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006036/0.4104, allocations: 406.6 kB / 0.5141 GB, free: 9.355 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01639/0.4268, allocations: 12.26 MB / 0.526 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.463e-05/0.4268, allocations: 47.22 kB / 0.5261 GB, free: 10.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.325e-06/0.4269, allocations: 0 / 0.5261 GB, free: 10.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.01008/0.4369, allocations: 3.373 MB / 0.5294 GB, free: 7.199 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.437, allocations: 64.41 kB / 0.5294 GB, free: 7.125 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004272/0.4375, allocations: 356.5 kB / 0.5298 GB, free: 6.766 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.499e-05/0.4375, allocations: 45.7 kB / 0.5298 GB, free: 6.715 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.4377, allocations: 245.2 kB / 0.53 GB, free: 6.473 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/0.438, allocations: 317.2 kB / 0.5303 GB, free: 6.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.4383, allocations: 166.6 kB / 0.5305 GB, free: 5.988 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4384, allocations: 358.8 kB / 0.5308 GB, free: 5.629 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006049/0.4391, allocations: 369.8 kB / 0.5312 GB, free: 5.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009878/0.4401, allocations: 0.4884 MB / 0.5317 GB, free: 4.746 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.4419, allocations: 0.8943 MB / 0.5326 GB, free: 3.816 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4419, allocations: 0 / 0.5326 GB, free: 3.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002672/0.4446, allocations: 1.129 MB / 0.5337 GB, free: 2.672 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.4446, allocations: 6.969 kB / 0.5337 GB, free: 2.668 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.4446, allocations: 4 kB / 0.5337 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000845/0.4455, allocations: 171.5 kB / 0.5338 GB, free: 2.484 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007935/0.4463, allocations: 187.7 kB / 0.534 GB, free: 2.301 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1932/0.6395, allocations: 4.112 MB / 0.538 GB, free: 130 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/0.64, allocations: 20.91 kB / 0.538 GB, free: 130 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.6402, allocations: 43.47 kB / 0.5381 GB, free: 130 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems 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 {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003706/0.6405, allocations: 231.1 kB / 0.5383 GB, free: 129.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004329/0.641, allocations: 63.72 kB / 0.5384 GB, free: 129.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.6436, allocations: 1.275 MB / 0.5396 GB, free: 129.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.6436, allocations: 9.219 kB / 0.5396 GB, free: 129.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6436, allocations: 2.297 kB / 0.5396 GB, free: 129.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001562/0.6452, allocations: 1.325 MB / 0.5409 GB, free: 128.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/0.648, allocations: 1.98 MB / 0.5428 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.648, allocations: 0 / 0.5428 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006526/0.6487, allocations: 160.4 kB / 0.543 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001675/0.6504, allocations: 290.7 kB / 0.5433 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.188e-05/0.6504, allocations: 30.31 kB / 0.5433 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004779/0.6509, allocations: 1.295 MB / 0.5446 GB, free: 126.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6509, allocations: 0 / 0.5446 GB, free: 126.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.653, allocations: 1.423 MB / 0.546 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.6532, allocations: 128.3 kB / 0.5461 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.493e-05/0.6533, allocations: 19.91 kB / 0.5461 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005133/0.6538, allocations: 31.31 kB / 0.5461 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.8e-05/0.6539, allocations: 51.42 kB / 0.5462 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.269e-05/0.654, allocations: 44.5 kB / 0.5462 GB, free: 125.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002337/0.6542, allocations: 283 kB / 0.5465 GB, free: 125.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6542, allocations: 0 / 0.5465 GB, free: 125.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003075/0.6573, allocations: 1.423 MB / 0.5479 GB, free: 125.4 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006854/0.6641, allocations: 3.627 MB / 0.5514 GB, free: 124.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001795/0.666, allocations: 1.163 MB / 0.5526 GB, free: 123.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.666, allocations: 2.719 kB / 0.5526 GB, free: 123.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007323/0.6667, allocations: 494.2 kB / 0.553 GB, free: 123 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.6683, allocations: 388.9 kB / 0.5534 GB, free: 122.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009233/0.6776, allocations: 7.078 MB / 0.5603 GB, free: 115.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.6779, allocations: 0.9089 MB / 0.5612 GB, free: 114.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006948/0.6786, allocations: 214.3 kB / 0.5614 GB, free: 114.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.6789, allocations: 223.4 kB / 0.5616 GB, free: 114.3 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/0.6789, allocations: 0 / 0.5616 GB, free: 114.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0824/0.7613, allocations: 57.04 MB / 0.6173 GB, free: 57.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/15.46, allocations: 25.02 kB / 0.6174 GB, free: 57.38 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches