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.0006803/0.0006804, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007768/0.0007769, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.177/1.177, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001926/0.0001926, allocations: 7.938 kB / 307.8 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07738/0.07759, allocations: 51.53 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1935/0.2711, allocations: 65.97 MB / 425.3 MB, free: 9.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005551/0.2767, allocations: 5.476 MB / 430.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.2769, allocations: 4 kB / 430.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000712/0.2776, allocations: 306.5 kB / 431.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006716/0.2783, allocations: 0.4975 MB / 431.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01545/0.2938, allocations: 6.256 MB / 437.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002089/0.2959, allocations: 2.308 MB / 440.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.2961, allocations: 166 kB / 440.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006018/0.2967, allocations: 0.5176 MB / 440.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006086/0.2974, allocations: 0.58 MB / 441.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.692e-05/0.2974, allocations: 36 kB / 441.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0156/0.313, allocations: 10.39 MB / 451.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000353/0.3134, allocations: 271.2 kB / 452.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004797/0.3139, allocations: 408.2 kB / 452.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009654/0.3236, allocations: 6.022 MB / 458.5 MB, free: 8.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3236, allocations: 0 / 458.5 MB, free: 8.012 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3236, allocations: 0 / 458.5 MB, free: 8.012 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.3236, allocations: 3.938 kB / 458.5 MB, free: 8.008 MB / 366.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.002559/0.3262, allocations: 1.408 MB / 460 MB, free: 6.551 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3262, allocations: 8.031 kB / 460 MB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/0.3264, allocations: 114.4 kB / 460.1 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/0.3267, allocations: 84.11 kB / 460.2 MB, free: 6.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.3272, allocations: 432.9 kB / 460.6 MB, free: 5.875 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.3272, allocations: 45.31 kB / 460.6 MB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.734e-05/0.3273, allocations: 71.89 kB / 460.7 MB, free: 5.758 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.3289, allocations: 0.8107 MB / 461.5 MB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.3289, allocations: 4 kB / 461.5 MB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.804e-05/0.329, allocations: 24 kB / 461.5 MB, free: 4.914 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.329, allocations: 16 kB / 461.5 MB, free: 4.898 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.3306, allocations: 1.024 MB / 462.6 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01438/0.345, allocations: 12.85 MB / 475.4 MB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.3466, allocations: 0.7536 MB / 476.2 MB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005097/0.3471, allocations: 410.6 kB / 476.6 MB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01274/0.3598, allocations: 12.31 MB / 488.9 MB, free: 5.031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.3599, allocations: 43.22 kB / 488.9 MB, free: 4.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 2.174e-06/0.3599, allocations: 0 / 488.9 MB, free: 4.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.008503/0.3684, allocations: 3.42 MB / 492.3 MB, free: 1.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.3684, allocations: 64.34 kB / 492.4 MB, free: 1.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.3688, allocations: 356.4 kB / 492.7 MB, free: 1.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.678e-05/0.3689, allocations: 41.7 kB / 492.8 MB, free: 0.9922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.369, allocations: 244.7 kB / 493 MB, free: 0.7461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.3692, allocations: 307.5 kB / 493.3 MB, free: 452 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.943e-05/0.3693, allocations: 73.69 kB / 493.4 MB, free: 372 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.3695, allocations: 362.8 kB / 493.8 MB, free: 16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/0.37, allocations: 369.7 kB / 494.1 MB, free: 15.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008097/0.3708, allocations: 496.2 kB / 494.6 MB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.3724, allocations: 0.9059 MB / 495.5 MB, free: 14.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3724, allocations: 0 / 495.5 MB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002294/0.3747, allocations: 1.113 MB / 496.6 MB, free: 13.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3747, allocations: 7.938 kB / 496.6 MB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3747, allocations: 4.281 kB / 496.6 MB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007071/0.3754, allocations: 167.3 kB / 496.8 MB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006929/0.3761, allocations: 191.7 kB / 497 MB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/0.3785, allocations: 3.919 MB / 0.4892 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/0.379, allocations: 59.91 kB / 0.4892 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.052e-05/0.379, allocations: 43.98 kB / 0.4893 GB, free: 8.34 MB / 414.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.0002844/0.3793, allocations: 234.6 kB / 0.4895 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003189/0.3797, allocations: 55.44 kB / 0.4895 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/0.3818, allocations: 1.288 MB / 0.4908 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.3818, allocations: 8 kB / 0.4908 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.3818, allocations: 0 / 0.4908 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001587/0.3834, allocations: 1.32 MB / 0.4921 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.3862, allocations: 1.967 MB / 0.494 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.3862, allocations: 0 / 0.494 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006392/0.3869, allocations: 167.7 kB / 0.4942 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/0.3885, allocations: 293.2 kB / 0.4945 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.526e-05/0.3886, allocations: 27.98 kB / 0.4945 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006763/0.3893, allocations: 1.301 MB / 0.4957 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3893, allocations: 4.031 kB / 0.4958 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/0.3916, allocations: 1.417 MB / 0.4971 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.3917, allocations: 136.6 kB / 0.4973 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.3919, allocations: 20 kB / 0.4973 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005648/0.3924, allocations: 63.67 kB / 0.4973 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-05/0.3925, allocations: 52.92 kB / 0.4974 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-05/0.3926, allocations: 43.97 kB / 0.4974 GB, free: 15.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002823/0.3929, allocations: 283 kB / 0.4977 GB, free: 15.35 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3929, allocations: 0 / 0.4977 GB, free: 15.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003317/0.3962, allocations: 1.405 MB / 0.4991 GB, free: 13.95 MB / 430.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.007695/0.404, allocations: 3.601 MB / 0.5026 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.4058, allocations: 1.144 MB / 0.5037 GB, free: 9.129 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.4058, allocations: 8.062 kB / 0.5037 GB, free: 9.121 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007849/0.4066, allocations: 487.2 kB / 0.5042 GB, free: 8.641 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.4084, allocations: 381.5 kB / 0.5046 GB, free: 8.277 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.4192, allocations: 7.542 MB / 0.5119 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.4197, allocations: 0.9089 MB / 0.5128 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006948/0.4204, allocations: 205.2 kB / 0.513 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/0.4207, allocations: 223.4 kB / 0.5132 GB, free: 15.2 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4207, allocations: 3.938 kB / 0.5132 GB, free: 15.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2082/0.629, allocations: 55.69 MB / 0.5676 GB, free: 123.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/0.6291, allocations: 273.5 kB / 0.5679 GB, free: 123.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.523/4.152, allocations: 4 kB / 0.5679 GB, free: 123.5 MB / 446.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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