Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 47.92 kB / 365.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1125, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03355/0.146, allocations: 26.76 MB / 444.5 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2049/0.3509, allocations: 24.95 MB / 469.5 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000325/0.3512, allocations: 5.656 kB / 469.5 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007996/0.352, allocations: 302.8 kB / 469.8 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007129/0.3527, allocations: 387.5 kB / 470.2 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01157/0.3643, allocations: 4.083 MB / 474.3 MB, free: 1.289 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.3655, allocations: 0.946 MB / 475.2 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.3657, allocations: 80.03 kB / 475.3 MB, free: 1.039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005353/0.3662, allocations: 394.1 kB / 475.7 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003131/0.3665, allocations: 312 kB / 476 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.3666, allocations: 37.12 kB / 476 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01846/0.385, allocations: 10.49 MB / 486.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.3853, allocations: 107.2 kB / 486.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004137/0.3857, allocations: 227.7 kB / 486.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03012/0.4158, allocations: 11.5 MB / 498.3 MB, free: 5.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.4158, allocations: 0 / 498.3 MB, free: 5.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4158, allocations: 1.719 kB / 498.3 MB, free: 5.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.4158, allocations: 0 / 498.3 MB, free: 5.016 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.006283/0.4221, allocations: 1.18 MB / 499.5 MB, free: 3.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.4221, allocations: 9.75 kB / 499.5 MB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.405e-05/0.4222, allocations: 71.09 kB / 499.6 MB, free: 3.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005566/0.4228, allocations: 67.73 kB / 499.6 MB, free: 3.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005253/0.4233, allocations: 320.7 kB / 500 MB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.4233, allocations: 28.66 kB / 500 MB, free: 3.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.085e-05/0.4234, allocations: 34.03 kB / 0.4883 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008905/0.4243, allocations: 466.7 kB / 0.4887 GB, free: 2.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.4243, allocations: 0.8125 kB / 0.4887 GB, free: 2.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.4244, allocations: 16 kB / 0.4888 GB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4244, allocations: 12.78 kB / 0.4888 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007464/0.4251, allocations: 386.2 kB / 0.4891 GB, free: 2.332 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.004006/0.4291, allocations: 2.949 MB / 0.492 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006732/0.4298, allocations: 285.3 kB / 0.4923 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.43, allocations: 135.1 kB / 0.4924 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002542/0.4325, allocations: 2.468 MB / 0.4948 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.4326, allocations: 35.86 kB / 0.4949 GB, free: 11.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.384e-06/0.4326, allocations: 4 kB / 0.4949 GB, free: 11.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.005247/0.4378, allocations: 1.3 MB / 0.4961 GB, free: 10.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.4379, allocations: 55.41 kB / 0.4962 GB, free: 10.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.4382, allocations: 258.6 kB / 0.4964 GB, free: 10.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.4382, allocations: 31.05 kB / 0.4965 GB, free: 10 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.4384, allocations: 192.5 kB / 0.4967 GB, free: 9.809 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.4385, allocations: 130.8 kB / 0.4968 GB, free: 9.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.4386, allocations: 79.44 kB / 0.4969 GB, free: 9.598 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4388, allocations: 338.8 kB / 0.4972 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.439, allocations: 114.2 kB / 0.4973 GB, free: 9.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.4393, allocations: 237.4 kB / 0.4975 GB, free: 8.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005574/0.4399, allocations: 373 kB / 0.4979 GB, free: 8.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4399, allocations: 2.562 kB / 0.4979 GB, free: 8.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008611/0.4407, allocations: 466.1 kB / 0.4983 GB, free: 7.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.4407, allocations: 8 kB / 0.4983 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4408, allocations: 4 kB / 0.4983 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004656/0.4454, allocations: 235.5 kB / 0.4986 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.4458, allocations: 87.97 kB / 0.4986 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/0.4474, allocations: 1.948 MB / 0.5005 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.4477, allocations: 8 kB / 0.5005 GB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.4477, allocations: 20 kB / 0.5006 GB, free: 5.531 MB / 398.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.0002174/0.4479, allocations: 161.7 kB / 0.5007 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.056e-05/0.448, allocations: 36.36 kB / 0.5008 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.4491, allocations: 0.6913 MB / 0.5014 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.4491, allocations: 11.98 kB / 0.5014 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.4491, allocations: 0 / 0.5014 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009427/0.45, allocations: 0.8601 MB / 0.5023 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.4516, allocations: 1.188 MB / 0.5034 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.4516, allocations: 4 kB / 0.5034 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.4519, allocations: 59.97 kB / 0.5035 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001586/0.4535, allocations: 192.4 kB / 0.5037 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.4535, allocations: 4 kB / 0.5037 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004095/0.4539, allocations: 0.5719 MB / 0.5042 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.4539, allocations: 3.938 kB / 0.5043 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.4549, allocations: 0.7313 MB / 0.505 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.455, allocations: 112.9 kB / 0.5051 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.4551, allocations: 11.94 kB / 0.5051 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.4553, allocations: 4 kB / 0.5051 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.4553, allocations: 31.66 kB / 0.5051 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.4553, allocations: 28.08 kB / 0.5051 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002347/0.4556, allocations: 214 kB / 0.5053 GB, free: 412 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4556, allocations: 0 / 0.5053 GB, free: 412 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.004111/0.4597, allocations: 0.7481 MB / 0.5061 GB, free: 15.65 MB / 414.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.0271/0.4868, allocations: 7.585 MB / 0.5135 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.4879, allocations: 467.5 kB / 0.5139 GB, free: 7.574 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.4879, allocations: 4 kB / 0.5139 GB, free: 7.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004317/0.4883, allocations: 205.1 kB / 0.5141 GB, free: 7.371 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.4894, allocations: 195.3 kB / 0.5143 GB, free: 7.184 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008348/0.4978, allocations: 4.051 MB / 0.5183 GB, free: 2.945 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.4982, allocations: 0.805 MB / 0.5191 GB, free: 2.117 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000425/0.4986, allocations: 191.6 kB / 0.5192 GB, free: 1.934 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.4988, allocations: 139.4 kB / 0.5194 GB, free: 1.797 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4988, allocations: 0 / 0.5194 GB, free: 1.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07349/0.5723, allocations: 33.8 MB / 0.5524 GB, free: 92 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.39, allocations: 13.69 kB / 0.5524 GB, free: 84 kB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.367570185102522]