Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009415/0.0009415, allocations: 195.7 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.136/1.136, allocations: 226.5 MB / 244.7 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007096/0.0007093, allocations: 95.69 kB / 296.7 MB, free: 6.922 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001968/0.0001968, allocations: 8 kB / 356.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1729, allocations: 51.29 MB / 408.1 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01532/0.1883, allocations: 24.71 MB / 432.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01914/0.2075, allocations: 22.87 MB / 455.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002777/0.2078, allocations: 4 kB / 455.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000608/0.2084, allocations: 226.8 kB / 455.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005831/0.209, allocations: 346.2 kB / 456.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007039/0.216, allocations: 2.992 MB / 459.3 MB, free: 8.453 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009975/0.217, allocations: 1.172 MB / 460.4 MB, free: 7.277 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.2172, allocations: 85.03 kB / 460.5 MB, free: 7.191 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.2176, allocations: 338.7 kB / 460.9 MB, free: 6.859 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.2179, allocations: 286.9 kB / 461.1 MB, free: 6.578 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.2179, allocations: 20 kB / 461.2 MB, free: 6.559 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04568/0.2636, allocations: 40.23 MB / 0.4896 GB, free: 14.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.2639, allocations: 83.7 kB / 0.4897 GB, free: 14.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.2642, allocations: 221 kB / 0.4899 GB, free: 13.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02444/0.2886, allocations: 10.68 MB / 0.5004 GB, free: 3.297 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.2887, allocations: 0 / 0.5004 GB, free: 3.297 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2887, allocations: 0 / 0.5004 GB, free: 3.297 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.2887, allocations: 0 / 0.5004 GB, free: 3.297 MB / 378.7 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.005372/0.2941, allocations: 1.057 MB / 0.5014 GB, free: 2.191 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2941, allocations: 16.03 kB / 0.5014 GB, free: 2.176 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.906e-05/0.2942, allocations: 74.66 kB / 0.5015 GB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004647/0.2947, allocations: 64.47 kB / 0.5015 GB, free: 2.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.2951, allocations: 323.6 kB / 0.5018 GB, free: 1.676 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.2951, allocations: 21.03 kB / 0.5019 GB, free: 1.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.2951, allocations: 36.38 kB / 0.5019 GB, free: 1.621 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007917/0.2959, allocations: 459.7 kB / 0.5023 GB, free: 1.137 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.296, allocations: 11.94 kB / 0.5023 GB, free: 1.125 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.296, allocations: 16 kB / 0.5024 GB, free: 1.109 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.296, allocations: 8 kB / 0.5024 GB, free: 1.102 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006512/0.2967, allocations: 386.3 kB / 0.5027 GB, free: 0.7266 MB / 378.7 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.1395/0.4362, allocations: 2.934 MB / 0.5056 GB, free: 89.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.4367, allocations: 295.3 kB / 0.5059 GB, free: 89.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.4369, allocations: 132 kB / 0.506 GB, free: 89.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/0.4384, allocations: 2.53 MB / 0.5085 GB, free: 87.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.4385, allocations: 42.28 kB / 0.5085 GB, free: 87.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.973e-06/0.4385, allocations: 0 / 0.5085 GB, free: 87.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.004248/0.4427, allocations: 1.302 MB / 0.5098 GB, free: 86.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.664e-05/0.4428, allocations: 55.28 kB / 0.5098 GB, free: 86.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.443, allocations: 258.7 kB / 0.5101 GB, free: 86.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.443, allocations: 31.64 kB / 0.5101 GB, free: 86.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.4431, allocations: 191.9 kB / 0.5103 GB, free: 86.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.46e-05/0.4431, allocations: 119 kB / 0.5104 GB, free: 85.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.625e-05/0.4432, allocations: 5.594 kB / 0.5104 GB, free: 85.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.937e-05/0.4432, allocations: 343.1 kB / 0.5108 GB, free: 85.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.4434, allocations: 115.5 kB / 0.5109 GB, free: 85.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.4436, allocations: 229.4 kB / 0.5111 GB, free: 85.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.4439, allocations: 367.5 kB / 0.5114 GB, free: 85.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4439, allocations: 3.438 kB / 0.5114 GB, free: 85.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006818/0.4446, allocations: 456.2 kB / 0.5119 GB, free: 84.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4447, allocations: 6.875 kB / 0.5119 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.4447, allocations: 12.83 kB / 0.5119 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004071/0.4487, allocations: 237.2 kB / 0.5121 GB, free: 84.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.4491, allocations: 87.59 kB / 0.5122 GB, free: 84.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008609/0.4499, allocations: 1.841 MB / 0.514 GB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.4502, allocations: 39.38 kB / 0.514 GB, free: 83.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.4502, allocations: 19.89 kB / 0.5141 GB, free: 83.02 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.4504, allocations: 167.3 kB / 0.5142 GB, free: 82.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.4504, allocations: 31.72 kB / 0.5142 GB, free: 82.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008358/0.4513, allocations: 0.6886 MB / 0.5149 GB, free: 82.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.4513, allocations: 11.34 kB / 0.5149 GB, free: 82.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.4513, allocations: 0 / 0.5149 GB, free: 82.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005552/0.4519, allocations: 0.8677 MB / 0.5158 GB, free: 81.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009812/0.4529, allocations: 1.196 MB / 0.5169 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4529, allocations: 3.938 kB / 0.5169 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.4531, allocations: 59.86 kB / 0.517 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00134/0.4544, allocations: 185.3 kB / 0.5172 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.4545, allocations: 12.47 kB / 0.5172 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002106/0.4547, allocations: 0.576 MB / 0.5178 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4547, allocations: 0 / 0.5178 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006792/0.4554, allocations: 0.7341 MB / 0.5185 GB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.4554, allocations: 126.3 kB / 0.5186 GB, free: 80.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.4555, allocations: 4.562 kB / 0.5186 GB, free: 80.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.4557, allocations: 19.62 kB / 0.5186 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.4557, allocations: 25.31 kB / 0.5186 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.4558, allocations: 15.25 kB / 0.5187 GB, free: 80.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.4559, allocations: 219.5 kB / 0.5189 GB, free: 79.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4559, allocations: 0 / 0.5189 GB, free: 79.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003489/0.4594, allocations: 0.7469 MB / 0.5196 GB, free: 79.82 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.03042/0.4898, allocations: 7.572 MB / 0.527 GB, free: 73.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008659/0.4908, allocations: 477.1 kB / 0.5274 GB, free: 72.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.4908, allocations: 3.938 kB / 0.5274 GB, free: 72.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.4911, allocations: 228 kB / 0.5277 GB, free: 72.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.4921, allocations: 175 kB / 0.5278 GB, free: 72.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/0.4968, allocations: 2.644 MB / 0.5304 GB, free: 69.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.497, allocations: 0.8012 MB / 0.5312 GB, free: 69.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.4972, allocations: 139.4 kB / 0.5313 GB, free: 68.93 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4972, allocations: 0 / 0.5313 GB, free: 68.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.893/5.39, allocations: 29.86 MB / 0.5605 GB, free: 39.01 MB / 378.7 MB (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","../files/Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches