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/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_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_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001733/0.001733, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.676/1.676, allocations: 225.6 MB / 234.8 MB, free: 3.25 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009893/0.0009893, allocations: 98.88 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.242e-05/2.244e-05, allocations: 0 / 343.7 MB, free: 8.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1576, allocations: 51.48 MB / 395.2 MB, free: 4.785 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.14/17.3, allocations: 5.751 GB / 6.137 GB, free: 106.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/17.3, allocations: 78.06 kB / 6.137 GB, free: 106.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.476/26.77, allocations: 2.884 GB / 9.02 GB, free: 118.3 MB / 0.6359 GB Notification: Performance of FrontEnd: time 1.633e-06/26.77, allocations: 0 / 9.02 GB, free: 118.3 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 2.192e-05/26.77, allocations: 9.516 kB / 9.02 GB, free: 118.3 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.04464/26.82, allocations: 1.667 MB / 9.022 GB, free: 117.4 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/26.82, allocations: 11.03 kB / 9.022 GB, free: 117.4 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006457/26.82, allocations: 63.83 kB / 9.022 GB, free: 117.4 MB / 0.6359 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/26.82, allocations: 315.6 kB / 9.022 GB, free: 117.2 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/26.82, allocations: 15.08 kB / 9.022 GB, free: 117.2 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/26.82, allocations: 20.23 kB / 9.022 GB, free: 117.2 MB / 0.6359 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004704/26.82, allocations: 327.9 kB / 9.023 GB, free: 117.2 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005085/26.82, allocations: 381.5 kB / 9.023 GB, free: 117.1 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/26.82, allocations: 2.906 kB / 9.023 GB, free: 117.1 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/26.82, allocations: 2.031 kB / 9.023 GB, free: 117.1 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/26.82, allocations: 11.62 kB / 9.023 GB, free: 117.1 MB / 0.6359 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.006297/26.83, allocations: 5.555 MB / 9.029 GB, free: 114.8 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/26.83, allocations: 222.1 kB / 9.029 GB, free: 114.7 MB / 0.6359 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/26.83, allocations: 110.1 kB / 9.029 GB, free: 114.7 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001845/26.83, allocations: 1.647 MB / 9.03 GB, free: 113.3 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/26.83, allocations: 37.47 kB / 9.03 GB, free: 113.3 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=28): time 2.335e-06/26.83, allocations: 0 / 9.03 GB, free: 113.3 MB / 0.6359 GB Notification: Performance of matching and sorting (n=32): time 0.008107/26.84, allocations: 1.439 MB / 9.032 GB, free: 112.9 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/26.84, allocations: 53.56 kB / 9.032 GB, free: 112.9 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/26.84, allocations: 204.1 kB / 9.032 GB, free: 112.8 MB / 0.6359 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/26.84, allocations: 27.86 kB / 9.032 GB, free: 112.7 MB / 0.6359 GB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/26.84, allocations: 194.9 kB / 9.032 GB, free: 112.6 MB / 0.6359 GB Notification: Performance of collectInitialBindings (initialization): time 6.58e-05/26.84, allocations: 112.7 kB / 9.032 GB, free: 112.6 MB / 0.6359 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/26.84, allocations: 0 / 9.032 GB, free: 112.6 MB / 0.6359 GB Notification: Performance of setup shared object (initialization): time 8.615e-05/26.84, allocations: 338.6 kB / 9.033 GB, free: 112.2 MB / 0.6359 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/26.84, allocations: 107.1 kB / 9.033 GB, free: 112.2 MB / 0.6359 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/26.84, allocations: 209.8 kB / 9.033 GB, free: 112.1 MB / 0.6359 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/26.84, allocations: 332.6 kB / 9.033 GB, free: 112.1 MB / 0.6359 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/26.84, allocations: 3.938 kB / 9.033 GB, free: 112.1 MB / 0.6359 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002693/26.84, allocations: 0.5886 MB / 9.034 GB, free: 112 MB / 0.6359 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/26.84, allocations: 11.19 kB / 9.034 GB, free: 112 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/26.84, allocations: 3.094 kB / 9.034 GB, free: 112 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002335/26.84, allocations: 56.14 kB / 9.034 GB, free: 112 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/26.84, allocations: 86.09 kB / 9.034 GB, free: 112 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/26.84, allocations: 1.894 MB / 9.036 GB, free: 110.3 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/26.84, allocations: 27.73 kB / 9.036 GB, free: 110.3 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/26.84, allocations: 22.89 kB / 9.036 GB, free: 110.3 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 () * 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.0001253/26.84, allocations: 114.9 kB / 9.036 GB, free: 110.2 MB / 0.6359 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.473e-05/26.84, allocations: 22.94 kB / 9.036 GB, free: 110.2 MB / 0.6359 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/26.85, allocations: 0.6848 MB / 9.037 GB, free: 110.1 MB / 0.6359 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/26.85, allocations: 7.891 kB / 9.037 GB, free: 110.1 MB / 0.6359 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/26.85, allocations: 0 / 9.037 GB, free: 110.1 MB / 0.6359 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001227/26.85, allocations: 0.8618 MB / 9.038 GB, free: 109.6 MB / 0.6359 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/26.85, allocations: 1.104 MB / 9.039 GB, free: 109.3 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/26.85, allocations: 3.719 kB / 9.039 GB, free: 109.3 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/26.85, allocations: 58.98 kB / 9.039 GB, free: 109.3 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002219/26.85, allocations: 65.83 kB / 9.039 GB, free: 109.3 MB / 0.6359 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/26.85, allocations: 3.938 kB / 9.039 GB, free: 109.3 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003284/26.85, allocations: 0.6065 MB / 9.039 GB, free: 108.8 MB / 0.6359 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/26.85, allocations: 0 / 9.039 GB, free: 108.8 MB / 0.6359 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/26.85, allocations: 0.7678 MB / 9.04 GB, free: 108.6 MB / 0.6359 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/26.85, allocations: 109.8 kB / 9.04 GB, free: 108.5 MB / 0.6359 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/26.85, allocations: 0 / 9.04 GB, free: 108.5 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/26.85, allocations: 10.8 kB / 9.04 GB, free: 108.5 MB / 0.6359 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/26.85, allocations: 38.2 kB / 9.04 GB, free: 108.5 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/26.85, allocations: 15.88 kB / 9.04 GB, free: 108.5 MB / 0.6359 GB Notification: Performance of sorting global known variables: time 0.0001574/26.85, allocations: 158.6 kB / 9.041 GB, free: 108.4 MB / 0.6359 GB Notification: Performance of sort global known variables: time 1.693e-06/26.85, allocations: 0 / 9.041 GB, free: 108.4 MB / 0.6359 GB Notification: Performance of remove unused functions: time 0.01834/26.87, allocations: 0.8359 MB / 9.041 GB, free: 108.2 MB / 0.6359 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse2,$cse3.phase,$cse4) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * 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.1232/26.99, allocations: 19.14 MB / 9.06 GB, free: 98.43 MB / 0.6359 GB Notification: Performance of simCode: created initialization part: time 0.001236/27, allocations: 453.6 kB / 9.06 GB, free: 98.33 MB / 0.6359 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/27, allocations: 0.875 kB / 9.06 GB, free: 98.33 MB / 0.6359 GB Notification: Performance of simCode: created simulation system equations: time 0.0004614/27, allocations: 214.1 kB / 9.061 GB, free: 98.32 MB / 0.6359 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/27, allocations: 135.7 kB / 9.061 GB, free: 98.31 MB / 0.6359 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/27, allocations: 0.6259 MB / 9.061 GB, free: 98.05 MB / 0.6359 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/27, allocations: 0.804 MB / 9.062 GB, free: 97.34 MB / 0.6359 GB Notification: Performance of simCode: alias equations: time 0.0004231/27, allocations: 231.3 kB / 9.062 GB, free: 97.33 MB / 0.6359 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/27, allocations: 36.3 kB / 9.062 GB, free: 97.32 MB / 0.6359 GB Notification: Performance of SimCode: time 3.4e-07/27, allocations: 2.938 kB / 9.062 GB, free: 97.32 MB / 0.6359 GB Notification: Performance of Templates: time 0.03963/27.04, allocations: 28.51 MB / 9.09 GB, free: 88.64 MB / 0.6359 GB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile (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 & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches