Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001555/0.001555, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001699/0.001699, allocations: 215.1 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002887/0.002887, allocations: 63.89 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2701, allocations: 53.4 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03085/0.3009, allocations: 27.08 MB / 458.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02899/0.3299, allocations: 25.08 MB / 483.3 MB, free: 2.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003922/0.3303, allocations: 8 kB / 483.4 MB, free: 2.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008976/0.3312, allocations: 306.3 kB / 483.7 MB, free: 2.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008573/0.3321, allocations: 389.9 kB / 484 MB, free: 1.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01144/0.3435, allocations: 4.123 MB / 488.2 MB, free: 13.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.345, allocations: 0.962 MB / 489.1 MB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.3452, allocations: 80.8 kB / 489.2 MB, free: 12.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006964/0.3459, allocations: 402.5 kB / 489.6 MB, free: 12.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004509/0.3463, allocations: 314.8 kB / 489.9 MB, free: 11.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.629e-05/0.3464, allocations: 36 kB / 489.9 MB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01864/0.365, allocations: 10.55 MB / 0.4887 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.3653, allocations: 111.6 kB / 0.4889 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003798/0.3656, allocations: 231.1 kB / 0.4891 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02698/0.3926, allocations: 11.51 MB / 0.5003 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3926, allocations: 4 kB / 0.5003 GB, free: 5.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3926, allocations: 0 / 0.5003 GB, free: 5.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.3926, allocations: 4 kB / 0.5003 GB, free: 5.297 MB / 414.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.006532/0.3992, allocations: 1.101 MB / 0.5014 GB, free: 4.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3992, allocations: 8.031 kB / 0.5014 GB, free: 4.152 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.754e-05/0.3993, allocations: 70.53 kB / 0.5015 GB, free: 4.074 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006336/0.3999, allocations: 67.73 kB / 0.5015 GB, free: 4.008 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.4005, allocations: 272.6 kB / 0.5018 GB, free: 3.715 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.4005, allocations: 20.66 kB / 0.5018 GB, free: 3.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-05/0.4005, allocations: 35.94 kB / 0.5019 GB, free: 3.656 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009093/0.4015, allocations: 463.8 kB / 0.5023 GB, free: 3.172 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.4015, allocations: 3.938 kB / 0.5023 GB, free: 3.168 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.4015, allocations: 16 kB / 0.5023 GB, free: 3.152 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.4015, allocations: 12 kB / 0.5023 GB, free: 3.141 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.4023, allocations: 386.3 kB / 0.5027 GB, free: 2.762 MB / 414.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.004178/0.4064, allocations: 2.818 MB / 0.5054 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006632/0.4071, allocations: 280.3 kB / 0.5057 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.4073, allocations: 128.8 kB / 0.5058 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001445/0.4088, allocations: 463.4 kB / 0.5063 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.4088, allocations: 42.56 kB / 0.5063 GB, free: 14.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.4088, allocations: 4 kB / 0.5063 GB, free: 14.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.005502/0.4143, allocations: 1.159 MB / 0.5075 GB, free: 13.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.4144, allocations: 55.41 kB / 0.5075 GB, free: 13.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.4147, allocations: 261.9 kB / 0.5078 GB, free: 13.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.4147, allocations: 33.64 kB / 0.5078 GB, free: 13.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.4149, allocations: 184.5 kB / 0.508 GB, free: 13.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.415, allocations: 130.9 kB / 0.5081 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.4151, allocations: 90.08 kB / 0.5082 GB, free: 12.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.4153, allocations: 334.8 kB / 0.5085 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.4155, allocations: 112.8 kB / 0.5086 GB, free: 12.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.4158, allocations: 234 kB / 0.5088 GB, free: 12.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005841/0.4164, allocations: 373.5 kB / 0.5092 GB, free: 11.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4164, allocations: 4 kB / 0.5092 GB, free: 11.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009313/0.4173, allocations: 459.1 kB / 0.5096 GB, free: 11.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4174, allocations: 11.94 kB / 0.5096 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.4174, allocations: 4 kB / 0.5096 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00572/0.4231, allocations: 249.4 kB / 0.5099 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/0.4235, allocations: 87.84 kB / 0.51 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/0.4251, allocations: 1.839 MB / 0.5118 GB, free: 8.914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.4254, allocations: 8 kB / 0.5118 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.4254, allocations: 23.98 kB / 0.5118 GB, free: 8.883 MB / 430.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.0002242/0.4256, allocations: 166.3 kB / 0.5119 GB, free: 8.711 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.4258, allocations: 35.75 kB / 0.512 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.4269, allocations: 0.7012 MB / 0.5127 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.4269, allocations: 15.97 kB / 0.5127 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4269, allocations: 4.062 kB / 0.5127 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009738/0.4279, allocations: 0.8827 MB / 0.5135 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.4295, allocations: 1.187 MB / 0.5147 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4295, allocations: 0 / 0.5147 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.4297, allocations: 63.91 kB / 0.5148 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001628/0.4314, allocations: 180.5 kB / 0.5149 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.4314, allocations: 15.98 kB / 0.515 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004313/0.4318, allocations: 0.5641 MB / 0.5155 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.4318, allocations: 8.031 kB / 0.5155 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.4329, allocations: 0.7497 MB / 0.5162 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.466e-05/0.433, allocations: 27.8 kB / 0.5163 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/0.433, allocations: 15.94 kB / 0.5163 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.4332, allocations: 11.98 kB / 0.5163 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.4333, allocations: 23.91 kB / 0.5163 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.4333, allocations: 11.98 kB / 0.5163 GB, free: 4.016 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002534/0.4335, allocations: 227.1 kB / 0.5165 GB, free: 3.793 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4335, allocations: 0 / 0.5165 GB, free: 3.793 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004417/0.438, allocations: 0.7559 MB / 0.5173 GB, free: 3.035 MB / 430.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.026/0.464, allocations: 7.6 MB / 0.5247 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.465, allocations: 469.6 kB / 0.5252 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.465, allocations: 0 / 0.5252 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004051/0.4654, allocations: 220.3 kB / 0.5254 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.4666, allocations: 181.6 kB / 0.5255 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008477/0.475, allocations: 4.052 MB / 0.5295 GB, free: 6.297 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.4755, allocations: 0.8052 MB / 0.5303 GB, free: 5.465 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004335/0.476, allocations: 202.7 kB / 0.5305 GB, free: 5.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.4762, allocations: 139.4 kB / 0.5306 GB, free: 5.133 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4762, allocations: 0 / 0.5306 GB, free: 5.133 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2687/0.7449, allocations: 34.24 MB / 0.564 GB, free: 77.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/14.78, allocations: 7.031 kB / 0.5641 GB, free: 77.89 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 19.970890968106687]