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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 182.7 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008863/0.0008863, allocations: 98.09 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002611/0.0002612, allocations: 11.94 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2676, allocations: 50.39 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.17/12.44, allocations: 5.751 GB / 6.143 GB, free: 123.1 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/12.44, allocations: 74.55 kB / 6.143 GB, free: 123.1 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.182/20.62, allocations: 2.91 GB / 9.053 GB, free: 117.9 MB / 0.6359 GB Notification: Performance of FrontEnd: time 2.314e-06/20.62, allocations: 0 / 9.053 GB, free: 117.9 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 3.951e-05/20.62, allocations: 7.688 kB / 9.053 GB, free: 117.9 MB / 0.6359 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.03941/20.66, allocations: 1.703 MB / 9.054 GB, free: 117.2 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/20.66, allocations: 11 kB / 9.055 GB, free: 117.2 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006187/20.66, allocations: 67.77 kB / 9.055 GB, free: 117.1 MB / 0.6359 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004854/20.66, allocations: 308.1 kB / 9.055 GB, free: 116.9 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/20.66, allocations: 24.31 kB / 9.055 GB, free: 116.9 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.473e-05/20.66, allocations: 34.03 kB / 9.055 GB, free: 116.9 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009162/20.66, allocations: 457.9 kB / 9.055 GB, free: 116.8 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/20.66, allocations: 4 kB / 9.055 GB, free: 116.8 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/20.66, allocations: 18.83 kB / 9.055 GB, free: 116.8 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.078e-06/20.66, allocations: 10.78 kB / 9.055 GB, free: 116.8 MB / 0.6359 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006336/20.66, allocations: 387.3 kB / 9.056 GB, free: 116.8 MB / 0.6359 GB 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.006632/20.67, allocations: 5.225 MB / 9.061 GB, free: 114.8 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006175/20.67, allocations: 292.7 kB / 9.061 GB, free: 114.8 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002149/20.67, allocations: 2.056 MB / 9.063 GB, free: 113 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/20.67, allocations: 36.41 kB / 9.063 GB, free: 113 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=30): time 2.836e-06/20.67, allocations: 0 / 9.063 GB, free: 113 MB / 0.6359 GB Notification: Performance of matching and sorting (n=34): time 0.004571/20.68, allocations: 1.282 MB / 9.064 GB, free: 112.5 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/20.68, allocations: 53.75 kB / 9.064 GB, free: 112.5 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/20.68, allocations: 235.5 kB / 9.065 GB, free: 112.4 MB / 0.6359 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/20.68, allocations: 32.39 kB / 9.065 GB, free: 112.3 MB / 0.6359 GB Notification: Performance of collectInitialEqns (initialization): time 7.723e-05/20.68, allocations: 197.4 kB / 9.065 GB, free: 112.2 MB / 0.6359 GB Notification: Performance of collectInitialBindings (initialization): time 6.46e-05/20.68, allocations: 119.1 kB / 9.065 GB, free: 112.2 MB / 0.6359 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.588e-05/20.68, allocations: 6.688 kB / 9.065 GB, free: 112.2 MB / 0.6359 GB Notification: Performance of setup shared object (initialization): time 6.098e-05/20.68, allocations: 346.2 kB / 9.065 GB, free: 111.8 MB / 0.6359 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/20.68, allocations: 112.1 kB / 9.065 GB, free: 111.8 MB / 0.6359 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/20.68, allocations: 221.4 kB / 9.066 GB, free: 111.7 MB / 0.6359 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/20.68, allocations: 153.2 kB / 9.066 GB, free: 111.7 MB / 0.6359 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/20.68, allocations: 0 / 9.066 GB, free: 111.7 MB / 0.6359 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007004/20.68, allocations: 452.3 kB / 9.066 GB, free: 111.6 MB / 0.6359 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/20.68, allocations: 10.22 kB / 9.066 GB, free: 111.6 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/20.68, allocations: 3.312 kB / 9.066 GB, free: 111.6 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006779/20.69, allocations: 290.3 kB / 9.067 GB, free: 111.6 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/20.69, allocations: 90.14 kB / 9.067 GB, free: 111.6 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/20.69, allocations: 1.847 MB / 9.068 GB, free: 109.8 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/20.69, allocations: 33.59 kB / 9.068 GB, free: 109.8 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/20.69, allocations: 26.44 kB / 9.069 GB, free: 109.8 MB / 0.6359 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 () * 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.0001973/20.69, allocations: 160.4 kB / 9.069 GB, free: 109.7 MB / 0.6359 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/20.69, allocations: 35.55 kB / 9.069 GB, free: 109.7 MB / 0.6359 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009104/20.69, allocations: 0.6992 MB / 9.069 GB, free: 109.6 MB / 0.6359 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/20.69, allocations: 9.516 kB / 9.069 GB, free: 109.6 MB / 0.6359 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/20.69, allocations: 4 kB / 9.069 GB, free: 109.6 MB / 0.6359 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006048/20.69, allocations: 0.8578 MB / 9.07 GB, free: 109.2 MB / 0.6359 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/20.69, allocations: 1.19 MB / 9.071 GB, free: 108.8 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/20.69, allocations: 3.938 kB / 9.071 GB, free: 108.8 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/20.69, allocations: 65.05 kB / 9.071 GB, free: 108.8 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001889/20.69, allocations: 194.8 kB / 9.072 GB, free: 108.8 MB / 0.6359 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/20.69, allocations: 10.44 kB / 9.072 GB, free: 108.8 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002549/20.69, allocations: 0.5742 MB / 9.072 GB, free: 108.3 MB / 0.6359 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/20.69, allocations: 2.578 kB / 9.072 GB, free: 108.3 MB / 0.6359 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007975/20.69, allocations: 0.7286 MB / 9.073 GB, free: 108.1 MB / 0.6359 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/20.69, allocations: 122.9 kB / 9.073 GB, free: 108 MB / 0.6359 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.984e-05/20.69, allocations: 5.125 kB / 9.073 GB, free: 108 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/20.69, allocations: 29.89 kB / 9.073 GB, free: 108 MB / 0.6359 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/20.69, allocations: 21.34 kB / 9.073 GB, free: 108 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/20.69, allocations: 17.52 kB / 9.073 GB, free: 108 MB / 0.6359 GB Notification: Performance of sorting global known variables: time 0.0001887/20.7, allocations: 220.8 kB / 9.073 GB, free: 107.9 MB / 0.6359 GB Notification: Performance of sort global known variables: time 1.21e-07/20.7, allocations: 0 / 9.073 GB, free: 107.9 MB / 0.6359 GB Notification: Performance of remove unused functions: time 0.01167/20.71, allocations: 0.8507 MB / 9.074 GB, free: 107.8 MB / 0.6359 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 () * 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.1147/20.82, allocations: 19.06 MB / 9.093 GB, free: 98.02 MB / 0.6359 GB Notification: Performance of simCode: created initialization part: time 0.0009821/20.82, allocations: 478.9 kB / 9.093 GB, free: 97.9 MB / 0.6359 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/20.82, allocations: 0 / 9.093 GB, free: 97.9 MB / 0.6359 GB Notification: Performance of simCode: created simulation system equations: time 0.0003301/20.82, allocations: 220.2 kB / 9.093 GB, free: 97.9 MB / 0.6359 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009916/20.82, allocations: 194.2 kB / 9.094 GB, free: 97.88 MB / 0.6359 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/20.83, allocations: 1.087 MB / 9.095 GB, free: 97.32 MB / 0.6359 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/20.83, allocations: 0.8102 MB / 9.095 GB, free: 96.62 MB / 0.6359 GB Notification: Performance of simCode: alias equations: time 0.0003935/20.83, allocations: 194.1 kB / 9.096 GB, free: 96.59 MB / 0.6359 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.016e-05/20.83, allocations: 35.39 kB / 9.096 GB, free: 96.59 MB / 0.6359 GB Notification: Performance of SimCode: time 3.71e-07/20.83, allocations: 4 kB / 9.096 GB, free: 96.58 MB / 0.6359 GB Notification: Performance of Templates: time 0.04238/20.87, allocations: 32.96 MB / 9.128 GB, free: 91.06 MB / 0.6359 GB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile (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 & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches