Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.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.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",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.001063/0.001063, allocations: 113.4 kB / 17.73 MB, free: 5.32 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.0009728/0.0009731, allocations: 188.2 kB / 18.66 MB, free: 4.395 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.258/1.258, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.0012/0.0012, allocations: 55.91 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08315/0.08436, allocations: 46.62 MB / 374.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.181/0.2654, allocations: 26.6 MB / 401.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02442/0.2898, allocations: 24.86 MB / 426.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004643/0.2904, allocations: 12.16 kB / 426.1 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008986/0.2913, allocations: 295 kB / 426.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007186/0.292, allocations: 358.6 kB / 426.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01113/0.3032, allocations: 4.023 MB / 430.8 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001076/0.3043, allocations: 0.9474 MB / 431.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.3045, allocations: 103.9 kB / 431.8 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005624/0.305, allocations: 396 kB / 432.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.3054, allocations: 301.2 kB / 432.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.588e-05/0.3055, allocations: 38.47 kB / 432.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01802/0.3235, allocations: 10.43 MB / 443 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.3237, allocations: 99.66 kB / 443.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004252/0.3242, allocations: 227.1 kB / 443.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02425/0.3484, allocations: 11.49 MB / 454.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3485, allocations: 0 / 454.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.408e-06/0.3485, allocations: 3.984 kB / 454.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.3485, allocations: 0 / 454.8 MB, free: 15.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.005958/0.3545, allocations: 1.135 MB / 455.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3545, allocations: 12.03 kB / 455.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.554e-05/0.3546, allocations: 66.53 kB / 456 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005346/0.3552, allocations: 63.59 kB / 456.1 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.3557, allocations: 330.3 kB / 456.4 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.3557, allocations: 20.66 kB / 456.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.024e-05/0.3557, allocations: 32 kB / 456.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008336/0.3566, allocations: 471.7 kB / 456.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.3566, allocations: 3.938 kB / 456.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.3567, allocations: 16 kB / 456.9 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.3567, allocations: 12 kB / 456.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007211/0.3574, allocations: 386.3 kB / 457.3 MB, free: 13.02 MB / 382.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.003307/0.3607, allocations: 2.946 MB / 460.3 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006221/0.3614, allocations: 290.8 kB / 460.5 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.3616, allocations: 132.8 kB / 460.7 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002156/0.3637, allocations: 2.474 MB / 463.1 MB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.3638, allocations: 34.56 kB / 463.2 MB, free: 6.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.3638, allocations: 3.938 kB / 463.2 MB, free: 6.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005045/0.3688, allocations: 1.296 MB / 464.5 MB, free: 5.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.3689, allocations: 55.41 kB / 464.5 MB, free: 4.965 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.3691, allocations: 266.5 kB / 464.8 MB, free: 4.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.3692, allocations: 29.7 kB / 464.8 MB, free: 4.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.3693, allocations: 184.2 kB / 465 MB, free: 4.473 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.284e-05/0.3694, allocations: 126.2 kB / 465.1 MB, free: 4.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.3695, allocations: 78.12 kB / 465.2 MB, free: 4.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3696, allocations: 338.8 kB / 465.5 MB, free: 3.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.3698, allocations: 112.8 kB / 465.6 MB, free: 3.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.3701, allocations: 234 kB / 465.9 MB, free: 3.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004796/0.3706, allocations: 371.8 kB / 466.2 MB, free: 3.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3706, allocations: 0 / 466.2 MB, free: 3.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007926/0.3714, allocations: 466.5 kB / 466.7 MB, free: 2.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3714, allocations: 8 kB / 466.7 MB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3714, allocations: 4 kB / 466.7 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00498/0.3764, allocations: 233.9 kB / 466.9 MB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.3768, allocations: 91.83 kB / 467 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.3784, allocations: 1.939 MB / 469 MB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.3787, allocations: 8 kB / 469 MB, free: 216 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.3787, allocations: 23.98 kB / 469 MB, free: 192 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002376/0.379, allocations: 169.8 kB / 469.1 MB, free: 12 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.3791, allocations: 35.61 kB / 469.2 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.3802, allocations: 0.6945 MB / 469.9 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.3802, allocations: 10.25 kB / 469.9 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.3803, allocations: 0 / 469.9 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008557/0.3811, allocations: 0.8563 MB / 470.7 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.3826, allocations: 1.191 MB / 471.9 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3826, allocations: 4 kB / 471.9 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.3829, allocations: 63.91 kB / 472 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/0.3846, allocations: 172.6 kB / 472.2 MB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.3847, allocations: 15.98 kB / 472.2 MB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003329/0.385, allocations: 0.5679 MB / 472.8 MB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.385, allocations: 3.938 kB / 472.8 MB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009171/0.3859, allocations: 0.738 MB / 473.5 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.702e-05/0.386, allocations: 108.7 kB / 473.6 MB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/0.3861, allocations: 20.05 kB / 473.6 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.3863, allocations: 8 kB / 473.6 MB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.3864, allocations: 27.91 kB / 473.7 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.3864, allocations: 12 kB / 473.7 MB, free: 11.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002196/0.3866, allocations: 217.9 kB / 473.9 MB, free: 11.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3866, allocations: 0 / 473.9 MB, free: 11.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004147/0.3908, allocations: 0.7418 MB / 474.6 MB, free: 10.31 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02485/0.4156, allocations: 7.566 MB / 482.2 MB, free: 2.711 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000985/0.4166, allocations: 474.3 kB / 482.7 MB, free: 2.234 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.4167, allocations: 8 kB / 482.7 MB, free: 2.227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004058/0.4171, allocations: 220.8 kB / 482.9 MB, free: 2.012 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.4182, allocations: 202.4 kB / 483.1 MB, free: 1.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007154/0.4253, allocations: 4.028 MB / 487.1 MB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.4257, allocations: 0.8089 MB / 487.9 MB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003809/0.4261, allocations: 183.8 kB / 488.1 MB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.4263, allocations: 131.4 kB / 488.2 MB, free: 12.46 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4263, allocations: 4 kB / 488.2 MB, free: 12.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06333/0.4896, allocations: 33.9 MB / 0.5099 GB, free: 10.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.56, allocations: 7.969 kB / 0.5099 GB, free: 10.43 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches