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: translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 192 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 226.6 MB / 244.7 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007287/0.0007287, allocations: 88.14 kB / 296.7 MB, free: 6.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002294/0.0002295, allocations: 12 kB / 356.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.193, allocations: 51.3 MB / 408 MB, free: 27.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01678/0.2099, allocations: 24.71 MB / 432.8 MB, free: 2.883 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02048/0.2304, allocations: 22.87 MB / 455.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000394/0.2308, allocations: 4 kB / 455.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006988/0.2315, allocations: 226.7 kB / 455.8 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007119/0.2322, allocations: 338.2 kB / 456.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008865/0.2411, allocations: 3.006 MB / 459.2 MB, free: 8.379 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.2425, allocations: 1.169 MB / 460.4 MB, free: 7.207 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.2428, allocations: 91.02 kB / 460.4 MB, free: 7.117 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005177/0.2433, allocations: 330.8 kB / 460.8 MB, free: 6.793 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000317/0.2436, allocations: 290.8 kB / 461.1 MB, free: 6.508 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.2437, allocations: 16 kB / 461.1 MB, free: 6.492 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04883/0.2925, allocations: 40.23 MB / 0.4895 GB, free: 14.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.2927, allocations: 83.7 kB / 0.4896 GB, free: 14.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003253/0.2931, allocations: 221 kB / 0.4898 GB, free: 13.92 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02813/0.3212, allocations: 10.68 MB / 0.5003 GB, free: 3.234 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3213, allocations: 4 kB / 0.5003 GB, free: 3.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3213, allocations: 0 / 0.5003 GB, free: 3.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.3213, allocations: 0 / 0.5003 GB, free: 3.23 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.00556/0.3268, allocations: 1.065 MB / 0.5013 GB, free: 2.117 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3269, allocations: 12.03 kB / 0.5013 GB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004689/0.3274, allocations: 60.53 kB / 0.5014 GB, free: 2.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.3277, allocations: 327.5 kB / 0.5017 GB, free: 1.688 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.3278, allocations: 25.03 kB / 0.5017 GB, free: 1.664 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/0.3278, allocations: 40.31 kB / 0.5018 GB, free: 1.625 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007762/0.3286, allocations: 455.9 kB / 0.5022 GB, free: 1.145 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.3286, allocations: 8 kB / 0.5022 GB, free: 1.137 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.3287, allocations: 16 kB / 0.5022 GB, free: 1.121 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.3287, allocations: 8 kB / 0.5022 GB, free: 1.113 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007706/0.3295, allocations: 386.3 kB / 0.5026 GB, free: 0.7383 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.1746/0.5041, allocations: 2.931 MB / 0.5054 GB, free: 89.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007148/0.5048, allocations: 297 kB / 0.5057 GB, free: 89.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.505, allocations: 132.6 kB / 0.5059 GB, free: 89.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001797/0.5068, allocations: 2.535 MB / 0.5083 GB, free: 87.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.5069, allocations: 34.5 kB / 0.5084 GB, free: 87.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 3.727e-06/0.5069, allocations: 0 / 0.5084 GB, free: 87.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.004719/0.5116, allocations: 1.302 MB / 0.5096 GB, free: 86.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.5117, allocations: 51.41 kB / 0.5097 GB, free: 86.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.5119, allocations: 258.5 kB / 0.5099 GB, free: 86.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.5119, allocations: 31.02 kB / 0.51 GB, free: 86.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.384e-05/0.512, allocations: 192.1 kB / 0.5101 GB, free: 86.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.533e-05/0.5121, allocations: 118 kB / 0.5103 GB, free: 85.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/0.5121, allocations: 10.25 kB / 0.5103 GB, free: 85.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.044e-05/0.5122, allocations: 343.9 kB / 0.5106 GB, free: 85.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.5124, allocations: 108.8 kB / 0.5107 GB, free: 85.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.5126, allocations: 227.5 kB / 0.5109 GB, free: 85.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/0.513, allocations: 376.8 kB / 0.5113 GB, free: 85.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.513, allocations: 0 / 0.5113 GB, free: 85.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008294/0.5139, allocations: 462.1 kB / 0.5117 GB, free: 84.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.5139, allocations: 10.28 kB / 0.5117 GB, free: 84.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.5139, allocations: 4.062 kB / 0.5117 GB, free: 84.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004743/0.5187, allocations: 233.4 kB / 0.512 GB, free: 84.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.5191, allocations: 90.7 kB / 0.512 GB, free: 84.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.5202, allocations: 1.842 MB / 0.5138 GB, free: 83.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.5205, allocations: 34.33 kB / 0.5139 GB, free: 83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.5205, allocations: 20.02 kB / 0.5139 GB, free: 82.99 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.0001969/0.5207, allocations: 164.1 kB / 0.514 GB, free: 82.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.5208, allocations: 29.75 kB / 0.5141 GB, free: 82.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009326/0.5217, allocations: 0.6951 MB / 0.5148 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.5218, allocations: 7.297 kB / 0.5148 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.5218, allocations: 1 kB / 0.5148 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006219/0.5224, allocations: 0.8697 MB / 0.5156 GB, free: 81.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.5236, allocations: 1.195 MB / 0.5168 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5236, allocations: 4 kB / 0.5168 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.5238, allocations: 66.55 kB / 0.5168 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.5253, allocations: 182.1 kB / 0.517 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.5253, allocations: 15.56 kB / 0.517 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002402/0.5256, allocations: 0.5746 MB / 0.5176 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5256, allocations: 0 / 0.5176 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007742/0.5264, allocations: 0.727 MB / 0.5183 GB, free: 80.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.5265, allocations: 131.5 kB / 0.5184 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.5265, allocations: 7.906 kB / 0.5184 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.5267, allocations: 27.62 kB / 0.5185 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.5268, allocations: 22.03 kB / 0.5185 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.5268, allocations: 11.91 kB / 0.5185 GB, free: 79.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001881/0.527, allocations: 220.2 kB / 0.5187 GB, free: 79.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.527, allocations: 0 / 0.5187 GB, free: 79.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0043/0.5313, allocations: 0.7479 MB / 0.5194 GB, free: 79.78 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.03196/0.5633, allocations: 6.397 MB / 0.5257 GB, free: 74.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008487/0.5642, allocations: 489.7 kB / 0.5262 GB, free: 74.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5642, allocations: 0 / 0.5262 GB, free: 74.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.5645, allocations: 217.5 kB / 0.5264 GB, free: 73.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.5656, allocations: 181.7 kB / 0.5265 GB, free: 73.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.5668, allocations: 1.115 MB / 0.5276 GB, free: 72.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.567, allocations: 0.8051 MB / 0.5284 GB, free: 71.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.458e-05/0.5671, allocations: 39.44 kB / 0.5284 GB, free: 71.81 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5671, allocations: 0 / 0.5284 GB, free: 71.81 MB / 378.7 MB Notification: Performance of Templates: time 0.02971/0.5968, allocations: 29.24 MB / 0.557 GB, free: 42.54 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1.makefile (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 & ./Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1 --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/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