Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001526, allocations: 182 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.04e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09907/0.09913, allocations: 47.57 MB / 369.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.94/17.04, allocations: 5.796 GB / 6.156 GB, free: 67.34 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/17.04, allocations: 74.02 kB / 6.156 GB, free: 67.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 16.28/33.32, allocations: 3.486 GB / 9.643 GB, free: 104.4 MB / 0.62 GB Notification: Performance of FrontEnd: time 2.565e-06/33.32, allocations: 0 / 9.643 GB, free: 104.4 MB / 0.62 GB Notification: Performance of Transformations before backend: time 2.763e-05/33.32, allocations: 8.812 kB / 9.643 GB, free: 104.4 MB / 0.62 GB 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.04832/33.37, allocations: 1.675 MB / 9.645 GB, free: 103.5 MB / 0.62 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/33.37, allocations: 7.469 kB / 9.645 GB, free: 103.5 MB / 0.62 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007795/33.37, allocations: 66.19 kB / 9.645 GB, free: 103.5 MB / 0.62 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005705/33.37, allocations: 314.7 kB / 9.645 GB, free: 103.2 MB / 0.62 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/33.37, allocations: 28.61 kB / 9.645 GB, free: 103.2 MB / 0.62 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.552e-05/33.37, allocations: 32.38 kB / 9.645 GB, free: 103.2 MB / 0.62 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/33.37, allocations: 458.9 kB / 9.645 GB, free: 103.1 MB / 0.62 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/33.37, allocations: 0 / 9.645 GB, free: 103.1 MB / 0.62 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-05/33.37, allocations: 16.05 kB / 9.645 GB, free: 103.1 MB / 0.62 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/33.37, allocations: 11.12 kB / 9.645 GB, free: 103.1 MB / 0.62 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/33.37, allocations: 386.8 kB / 9.646 GB, free: 103.1 MB / 0.62 GB Warning: The model contains alias variables with conflicting start and/or 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.009809/33.38, allocations: 5.22 MB / 9.651 GB, free: 101.1 MB / 0.62 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009958/33.38, allocations: 297.6 kB / 9.651 GB, free: 101.1 MB / 0.62 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/33.38, allocations: 130.4 kB / 9.651 GB, free: 101.1 MB / 0.62 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003377/33.39, allocations: 2.057 MB / 9.653 GB, free: 99.27 MB / 0.62 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/33.39, allocations: 36.34 kB / 9.653 GB, free: 99.23 MB / 0.62 GB Notification: Performance of pre-optimization done (n=30): time 3.056e-06/33.39, allocations: 0 / 9.653 GB, free: 99.23 MB / 0.62 GB Notification: Performance of matching and sorting (n=34): time 0.007098/33.4, allocations: 1.134 MB / 9.654 GB, free: 98.88 MB / 0.62 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/33.4, allocations: 54 kB / 9.654 GB, free: 98.82 MB / 0.62 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/33.4, allocations: 233.4 kB / 9.655 GB, free: 98.72 MB / 0.62 GB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/33.4, allocations: 29.33 kB / 9.655 GB, free: 98.69 MB / 0.62 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/33.4, allocations: 253.3 kB / 9.655 GB, free: 98.5 MB / 0.62 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/33.4, allocations: 120 kB / 9.655 GB, free: 98.43 MB / 0.62 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/33.4, allocations: 8.406 kB / 9.655 GB, free: 98.43 MB / 0.62 GB Notification: Performance of setup shared object (initialization): time 7.329e-05/33.4, allocations: 328.7 kB / 9.655 GB, free: 98.12 MB / 0.62 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/33.4, allocations: 104.7 kB / 9.655 GB, free: 98.12 MB / 0.62 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/33.4, allocations: 227.2 kB / 9.656 GB, free: 97.98 MB / 0.62 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/33.4, allocations: 141.6 kB / 9.656 GB, free: 97.98 MB / 0.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/33.4, allocations: 3.531 kB / 9.656 GB, free: 97.98 MB / 0.62 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00126/33.4, allocations: 444.2 kB / 9.656 GB, free: 97.89 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/33.4, allocations: 8.312 kB / 9.656 GB, free: 97.89 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/33.4, allocations: 3.625 kB / 9.656 GB, free: 97.89 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01203/33.41, allocations: 292.4 kB / 9.657 GB, free: 97.87 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/33.41, allocations: 90.31 kB / 9.657 GB, free: 97.86 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/33.41, allocations: 1.838 MB / 9.658 GB, free: 96.08 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005595/33.41, allocations: 37.8 kB / 9.658 GB, free: 96.07 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/33.41, allocations: 19.56 kB / 9.659 GB, free: 96.07 MB / 0.62 GB 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 () * 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.0001548/33.41, allocations: 132.1 kB / 9.659 GB, free: 95.96 MB / 0.62 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.842e-05/33.41, allocations: 26.56 kB / 9.659 GB, free: 95.95 MB / 0.62 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/33.42, allocations: 0.6958 MB / 9.659 GB, free: 95.86 MB / 0.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/33.42, allocations: 8.578 kB / 9.659 GB, free: 95.86 MB / 0.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/33.42, allocations: 0 / 9.659 GB, free: 95.86 MB / 0.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001098/33.42, allocations: 0.8556 MB / 9.66 GB, free: 95.39 MB / 0.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/33.42, allocations: 1.186 MB / 9.661 GB, free: 95.07 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/33.42, allocations: 0 / 9.661 GB, free: 95.07 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/33.42, allocations: 70.17 kB / 9.661 GB, free: 95.06 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003188/33.42, allocations: 192.9 kB / 9.662 GB, free: 95.05 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.065e-05/33.42, allocations: 5.75 kB / 9.662 GB, free: 95.05 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004022/33.42, allocations: 0.5733 MB / 9.662 GB, free: 94.53 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/33.42, allocations: 0 / 9.662 GB, free: 94.53 MB / 0.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/33.42, allocations: 0.7322 MB / 9.663 GB, free: 94.34 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/33.42, allocations: 119.9 kB / 9.663 GB, free: 94.23 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.254e-05/33.42, allocations: 9.5 kB / 9.663 GB, free: 94.23 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/33.43, allocations: 20.45 kB / 9.663 GB, free: 94.23 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/33.43, allocations: 27.83 kB / 9.663 GB, free: 94.22 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/33.43, allocations: 13.62 kB / 9.663 GB, free: 94.22 MB / 0.62 GB Notification: Performance of sorting global known variables: time 0.0003197/33.43, allocations: 222.2 kB / 9.663 GB, free: 94.14 MB / 0.62 GB Notification: Performance of sort global known variables: time 4.31e-07/33.43, allocations: 0 / 9.663 GB, free: 94.14 MB / 0.62 GB Notification: Performance of remove unused functions: time 0.01849/33.44, allocations: 0.8616 MB / 9.664 GB, free: 94 MB / 0.62 GB 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 () * 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.1814/33.63, allocations: 19.06 MB / 9.683 GB, free: 84.08 MB / 0.62 GB Notification: Performance of simCode: created initialization part: time 0.00137/33.63, allocations: 488.2 kB / 9.683 GB, free: 83.95 MB / 0.62 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/33.63, allocations: 4 kB / 9.683 GB, free: 83.95 MB / 0.62 GB Notification: Performance of simCode: created simulation system equations: time 0.0004967/33.63, allocations: 216.7 kB / 9.683 GB, free: 83.94 MB / 0.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/33.63, allocations: 178.9 kB / 9.684 GB, free: 83.92 MB / 0.62 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/33.63, allocations: 0.6859 MB / 9.684 GB, free: 83.63 MB / 0.62 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/33.63, allocations: 0.8114 MB / 9.685 GB, free: 82.93 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/33.63, allocations: 48.3 kB / 9.685 GB, free: 82.91 MB / 0.62 GB Notification: Performance of SimCode: time 1.222e-06/33.63, allocations: 0 / 9.685 GB, free: 82.91 MB / 0.62 GB Notification: Performance of Templates: time 0.06754/33.7, allocations: 34.91 MB / 9.719 GB, free: 64.08 MB / 0.62 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches