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.00132/0.00132, allocations: 115.5 kB / 17.28 MB, free: 6.047 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.001131/0.001132, allocations: 185.4 kB / 18.2 MB, free: 5.152 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.126/1.126, allocations: 205.1 MB / 224 MB, free: 12.43 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.001032/0.001032, allocations: 52.14 kB / 280.2 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.069/0.07004, allocations: 46.64 MB / 326.9 MB, free: 4.691 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03259/0.1027, allocations: 37.34 MB / 364.2 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1535/0.2562, allocations: 30.47 MB / 394.7 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004296/0.2567, allocations: 9.75 kB / 394.7 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009193/0.2577, allocations: 365.3 kB / 395.1 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009582/0.2586, allocations: 498 kB / 395.5 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01098/0.2696, allocations: 4.523 MB / 400.1 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001297/0.2709, allocations: 1.36 MB / 401.4 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.2712, allocations: 168.7 kB / 401.6 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007662/0.272, allocations: 0.5337 MB / 402.1 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005249/0.2725, allocations: 459 kB / 402.6 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.465e-05/0.2726, allocations: 53.81 kB / 402.6 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04307/0.3157, allocations: 38.72 MB / 441.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.316, allocations: 147.2 kB / 441.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004831/0.3165, allocations: 324.7 kB / 441.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05258/0.3691, allocations: 26.19 MB / 468 MB, free: 1.684 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3691, allocations: 0.8125 kB / 468 MB, free: 1.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3691, allocations: 0 / 468 MB, free: 1.684 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3691, allocations: 0.7812 kB / 468 MB, free: 1.684 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.006592/0.3757, allocations: 1.416 MB / 469.4 MB, free: 228 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3758, allocations: 11.89 kB / 469.4 MB, free: 216 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.275e-05/0.3759, allocations: 87.3 kB / 469.5 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006381/0.3765, allocations: 103.2 kB / 469.6 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.3769, allocations: 377.4 kB / 470 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.377, allocations: 37.78 kB / 470 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/0.3771, allocations: 48 kB / 470.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.3781, allocations: 0.6166 MB / 470.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.3781, allocations: 8.75 kB / 470.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/0.3782, allocations: 20 kB / 470.7 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.3782, allocations: 12.81 kB / 470.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008952/0.3791, allocations: 0.5268 MB / 471.2 MB, free: 14.32 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.003444/0.3826, allocations: 3.809 MB / 475.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008042/0.3834, allocations: 406.7 kB / 475.4 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.3837, allocations: 215 kB / 475.7 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002774/0.3865, allocations: 3.464 MB / 479.1 MB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.3865, allocations: 39.75 kB / 479.2 MB, free: 5.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 1.653e-06/0.3865, allocations: 4.719 kB / 479.2 MB, free: 5.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.008725/0.3952, allocations: 2.024 MB / 481.2 MB, free: 3.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.3953, allocations: 57.19 kB / 481.2 MB, free: 3.273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.3956, allocations: 304.5 kB / 481.5 MB, free: 2.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.3956, allocations: 33.7 kB / 481.6 MB, free: 2.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.3957, allocations: 233.4 kB / 481.8 MB, free: 2.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.3959, allocations: 195.4 kB / 482 MB, free: 2.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.396, allocations: 123.5 kB / 482.1 MB, free: 2.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3961, allocations: 346.8 kB / 482.5 MB, free: 2.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.3964, allocations: 181.2 kB / 482.6 MB, free: 1.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.3968, allocations: 327.2 kB / 483 MB, free: 1.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006913/0.3975, allocations: 0.5502 MB / 483.5 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3975, allocations: 1.719 kB / 483.5 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001114/0.3986, allocations: 0.6706 MB / 484.2 MB, free: 216 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3986, allocations: 8 kB / 484.2 MB, free: 208 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3987, allocations: 4 kB / 484.2 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009392/0.4081, allocations: 457.4 kB / 484.6 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/0.4086, allocations: 143.8 kB / 484.8 MB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.4103, allocations: 3.09 MB / 487.9 MB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.4107, allocations: 52.08 kB / 487.9 MB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/0.4108, allocations: 27.98 kB / 487.9 MB, free: 12.23 MB / 398.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.0002109/0.411, allocations: 185.7 kB / 488.1 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-05/0.4111, allocations: 43.47 kB / 488.2 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.4125, allocations: 1.059 MB / 489.2 MB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.4125, allocations: 15.97 kB / 489.2 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.4125, allocations: 0 / 489.2 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/0.4136, allocations: 1.091 MB / 490.3 MB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.4155, allocations: 1.733 MB / 492.1 MB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.4155, allocations: 4 kB / 492.1 MB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/0.4159, allocations: 95.89 kB / 492.2 MB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002993/0.4189, allocations: 345.1 kB / 492.5 MB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/0.4189, allocations: 19.98 kB / 492.5 MB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006077/0.4195, allocations: 1.144 MB / 493.7 MB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4195, allocations: 0 / 493.7 MB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.4209, allocations: 1.139 MB / 494.8 MB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.034e-05/0.421, allocations: 116.5 kB / 494.9 MB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/0.421, allocations: 19.88 kB / 494.9 MB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.4213, allocations: 31.88 kB / 495 MB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.4214, allocations: 40.5 kB / 495 MB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.4214, allocations: 22.94 kB / 495 MB, free: 4.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002353/0.4217, allocations: 255 kB / 495.3 MB, free: 4.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4217, allocations: 0 / 495.3 MB, free: 4.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004717/0.4264, allocations: 0.9565 MB / 496.2 MB, free: 3.699 MB / 398.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.03952/0.4659, allocations: 9.434 MB / 0.4938 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001659/0.4676, allocations: 0.744 MB / 0.4945 GB, free: 9.641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4676, allocations: 0 / 0.4945 GB, free: 9.641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005241/0.4682, allocations: 371.5 kB / 0.4949 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.4694, allocations: 261 kB / 0.4951 GB, free: 9.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00903/0.4784, allocations: 5.595 MB / 0.5006 GB, free: 3.227 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.4788, allocations: 0.8764 MB / 0.5015 GB, free: 2.324 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005112/0.4794, allocations: 236.7 kB / 0.5017 GB, free: 2.094 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/0.4796, allocations: 199.4 kB / 0.5019 GB, free: 1.898 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4796, allocations: 0 / 0.5019 GB, free: 1.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.414/1.894, allocations: 41.86 MB / 0.5428 GB, free: 162.7 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/1.894, allocations: 221.2 kB / 0.543 GB, free: 162.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.583/5.477, allocations: 1.375 kB / 0.543 GB, free: 162.4 MB / 446.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","../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches