Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.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.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",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.001147/0.001147, allocations: 104.2 kB / 17.58 MB, free: 5.559 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.001115/0.001115, allocations: 192 kB / 18.51 MB, free: 4.641 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.202/1.202, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001271/0.001272, allocations: 55.92 kB / 280.7 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07228/0.07356, allocations: 46.63 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03366/0.1073, allocations: 37.65 MB / 365 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1567/0.2639, allocations: 30.61 MB / 395.6 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003526/0.2643, allocations: 6.781 kB / 395.6 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007864/0.2652, allocations: 404.6 kB / 396 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007435/0.2659, allocations: 0.5193 MB / 396.6 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01099/0.2769, allocations: 5.123 MB / 401.7 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.278, allocations: 1.362 MB / 403 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.2783, allocations: 168.5 kB / 403.2 MB, free: 8.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005011/0.2788, allocations: 0.5293 MB / 403.7 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003731/0.2792, allocations: 443.2 kB / 404.2 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.958e-05/0.2792, allocations: 52.5 kB / 404.2 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01871/0.2979, allocations: 12.78 MB / 417 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.2982, allocations: 143.1 kB / 417.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000389/0.2986, allocations: 328 kB / 417.5 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03391/0.3325, allocations: 14.9 MB / 432.4 MB, free: 6.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3325, allocations: 0.8125 kB / 432.4 MB, free: 6.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3325, allocations: 3.938 kB / 432.4 MB, free: 6.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.3326, allocations: 0.8125 kB / 432.4 MB, free: 6.27 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.006337/0.3389, allocations: 1.42 MB / 433.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3389, allocations: 15.89 kB / 433.8 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.22e-05/0.339, allocations: 95.28 kB / 433.9 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006078/0.3396, allocations: 92.06 kB / 434 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.3401, allocations: 388.3 kB / 434.4 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.3401, allocations: 33.81 kB / 434.4 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.779e-05/0.3402, allocations: 44 kB / 434.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009952/0.3412, allocations: 0.6205 MB / 435.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.3412, allocations: 0.7812 kB / 435.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.3412, allocations: 27.94 kB / 435.1 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.3413, allocations: 12.81 kB / 435.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008806/0.3421, allocations: 0.5315 MB / 435.6 MB, free: 2.887 MB / 334.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.003475/0.3456, allocations: 3.812 MB / 439.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007993/0.3464, allocations: 414.6 kB / 439.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.3467, allocations: 209.2 kB / 440.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002831/0.3496, allocations: 3.462 MB / 443.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.3496, allocations: 39.75 kB / 443.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.533e-06/0.3496, allocations: 0.7812 kB / 443.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.008295/0.3579, allocations: 2.015 MB / 445.6 MB, free: 7.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.358, allocations: 65.09 kB / 445.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.3582, allocations: 304.5 kB / 445.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.3583, allocations: 33.7 kB / 446 MB, free: 7.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.3584, allocations: 237.9 kB / 446.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.3585, allocations: 194.6 kB / 446.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.3587, allocations: 114.2 kB / 446.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3588, allocations: 352.1 kB / 446.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.3591, allocations: 181.2 kB / 447 MB, free: 6.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.3594, allocations: 329.8 kB / 447.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006905/0.3601, allocations: 0.5474 MB / 447.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.3601, allocations: 7.938 kB / 447.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0011/0.3613, allocations: 0.6707 MB / 448.6 MB, free: 4.773 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3613, allocations: 13.59 kB / 448.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.3613, allocations: 4.5 kB / 448.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008501/0.3698, allocations: 451.6 kB / 449 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.3703, allocations: 135.8 kB / 449.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/0.372, allocations: 3.097 MB / 452.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.3722, allocations: 19.94 kB / 452.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/0.3723, allocations: 31.98 kB / 452.3 MB, free: 0.8164 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001927/0.3725, allocations: 189.6 kB / 452.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-05/0.3726, allocations: 43.72 kB / 452.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.374, allocations: 1.052 MB / 453.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.374, allocations: 7.984 kB / 453.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.374, allocations: 0 / 453.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001011/0.375, allocations: 1.095 MB / 454.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.3769, allocations: 1.72 MB / 456.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3769, allocations: 4 kB / 456.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/0.3772, allocations: 115.7 kB / 456.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002749/0.38, allocations: 345 kB / 456.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/0.3801, allocations: 23.98 kB / 456.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00062/0.3807, allocations: 1.14 MB / 458 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3807, allocations: 4.031 kB / 458 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.382, allocations: 1.124 MB / 459.1 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.117e-05/0.3821, allocations: 116.5 kB / 459.3 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.508e-05/0.3822, allocations: 24.03 kB / 459.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.3824, allocations: 19.97 kB / 459.3 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.3825, allocations: 40.48 kB / 459.3 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.3825, allocations: 24 kB / 459.4 MB, free: 9.504 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002322/0.3827, allocations: 243 kB / 459.6 MB, free: 9.266 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3827, allocations: 0 / 459.6 MB, free: 9.266 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00453/0.3873, allocations: 0.9605 MB / 460.6 MB, free: 8.305 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03892/0.4262, allocations: 9.423 MB / 470 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.4279, allocations: 0.7401 MB / 470.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4279, allocations: 3.938 kB / 470.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005448/0.4285, allocations: 371.5 kB / 471.1 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.4298, allocations: 274.5 kB / 471.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008413/0.4382, allocations: 5.395 MB / 476.8 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.4386, allocations: 0.8648 MB / 477.6 MB, free: 7.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004684/0.4391, allocations: 236.1 kB / 477.9 MB, free: 6.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.4393, allocations: 203.4 kB / 478.1 MB, free: 6.727 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4393, allocations: 4 kB / 478.1 MB, free: 6.723 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.741/3.18, allocations: 41.99 MB / 0.5079 GB, free: 12.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/15.37, allocations: 12.62 kB / 0.5079 GB, free: 12.58 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches