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.001515/0.001515, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.221/2.221, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 88.19 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.965e-05/1.962e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3356, allocations: 47.56 MB / 362.3 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 17/17.33, allocations: 5.795 GB / 6.149 GB, free: 23.89 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/17.33, allocations: 79.88 kB / 6.149 GB, free: 23.84 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 15.53/32.86, allocations: 3.455 GB / 9.604 GB, free: 102.4 MB / 0.6048 GB Notification: Performance of FrontEnd: time 1.774e-06/32.86, allocations: 0 / 9.604 GB, free: 102.4 MB / 0.6048 GB Notification: Performance of Transformations before backend: time 2.999e-05/32.86, allocations: 16.19 kB / 9.604 GB, free: 102.4 MB / 0.6048 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.04838/32.91, allocations: 1.672 MB / 9.606 GB, free: 101.1 MB / 0.6048 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/32.91, allocations: 12.03 kB / 9.606 GB, free: 101.1 MB / 0.6048 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007679/32.91, allocations: 62.5 kB / 9.606 GB, free: 101 MB / 0.6048 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005744/32.91, allocations: 316 kB / 9.606 GB, free: 100.8 MB / 0.6048 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/32.91, allocations: 15.95 kB / 9.606 GB, free: 100.8 MB / 0.6048 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.998e-05/32.91, allocations: 16 kB / 9.606 GB, free: 100.7 MB / 0.6048 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007364/32.91, allocations: 326.2 kB / 9.606 GB, free: 100.6 MB / 0.6048 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000742/32.91, allocations: 384.7 kB / 9.607 GB, free: 100.3 MB / 0.6048 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/32.91, allocations: 0 / 9.607 GB, free: 100.3 MB / 0.6048 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.81e-05/32.91, allocations: 4 kB / 9.607 GB, free: 100.3 MB / 0.6048 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/32.91, allocations: 8 kB / 9.607 GB, free: 100.3 MB / 0.6048 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.01005/32.92, allocations: 5.561 MB / 9.612 GB, free: 95.67 MB / 0.6048 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/32.92, allocations: 209.2 kB / 9.612 GB, free: 95.54 MB / 0.6048 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/32.92, allocations: 113.9 kB / 9.612 GB, free: 95.47 MB / 0.6048 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00286/32.93, allocations: 1.65 MB / 9.614 GB, free: 93.71 MB / 0.6048 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/32.93, allocations: 34.56 kB / 9.614 GB, free: 93.67 MB / 0.6048 GB Notification: Performance of pre-optimization done (n=28): time 5.05e-06/32.93, allocations: 2.531 kB / 9.614 GB, free: 93.67 MB / 0.6048 GB Notification: Performance of matching and sorting (n=32): time 0.01222/32.94, allocations: 1.439 MB / 9.616 GB, free: 92.68 MB / 0.6048 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/32.94, allocations: 59.41 kB / 9.616 GB, free: 92.61 MB / 0.6048 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/32.94, allocations: 198.9 kB / 9.616 GB, free: 92.46 MB / 0.6048 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/32.94, allocations: 25.7 kB / 9.616 GB, free: 92.43 MB / 0.6048 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/32.94, allocations: 263.3 kB / 9.616 GB, free: 92.22 MB / 0.6048 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/32.94, allocations: 105.9 kB / 9.616 GB, free: 92.15 MB / 0.6048 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/32.94, allocations: 0 / 9.616 GB, free: 92.15 MB / 0.6048 GB Notification: Performance of setup shared object (initialization): time 7.188e-05/32.94, allocations: 327.2 kB / 9.616 GB, free: 91.83 MB / 0.6048 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/32.94, allocations: 101.6 kB / 9.617 GB, free: 91.78 MB / 0.6048 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/32.94, allocations: 213.5 kB / 9.617 GB, free: 91.58 MB / 0.6048 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003418/32.94, allocations: 336.5 kB / 9.617 GB, free: 91.4 MB / 0.6048 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/32.94, allocations: 0 / 9.617 GB, free: 91.4 MB / 0.6048 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.004196/32.95, allocations: 0.5824 MB / 9.618 GB, free: 91.01 MB / 0.6048 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/32.95, allocations: 8.781 kB / 9.618 GB, free: 91 MB / 0.6048 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/32.95, allocations: 448 / 9.618 GB, free: 91 MB / 0.6048 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003418/32.95, allocations: 66.61 kB / 9.618 GB, free: 90.95 MB / 0.6048 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/32.95, allocations: 89.83 kB / 9.618 GB, free: 90.88 MB / 0.6048 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003051/32.95, allocations: 1.886 MB / 9.62 GB, free: 89 MB / 0.6048 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/32.95, allocations: 31.92 kB / 9.62 GB, free: 88.98 MB / 0.6048 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.852e-05/32.95, allocations: 19.88 kB / 9.62 GB, free: 88.96 MB / 0.6048 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.0001655/32.95, allocations: 115 kB / 9.62 GB, free: 88.85 MB / 0.6048 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.24e-05/32.95, allocations: 31.66 kB / 9.62 GB, free: 88.82 MB / 0.6048 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/32.96, allocations: 0.6768 MB / 9.621 GB, free: 88.43 MB / 0.6048 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/32.96, allocations: 4 kB / 9.621 GB, free: 88.43 MB / 0.6048 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/32.96, allocations: 3.953 kB / 9.621 GB, free: 88.43 MB / 0.6048 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00189/32.96, allocations: 0.8665 MB / 9.621 GB, free: 87.71 MB / 0.6048 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/32.96, allocations: 1.106 MB / 9.622 GB, free: 87.01 MB / 0.6048 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/32.96, allocations: 0 / 9.622 GB, free: 87.01 MB / 0.6048 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/32.96, allocations: 62.31 kB / 9.623 GB, free: 86.96 MB / 0.6048 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003367/32.96, allocations: 62.61 kB / 9.623 GB, free: 86.92 MB / 0.6048 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/32.96, allocations: 4 kB / 9.623 GB, free: 86.92 MB / 0.6048 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005307/32.96, allocations: 0.6037 MB / 9.623 GB, free: 86.35 MB / 0.6048 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/32.96, allocations: 4 kB / 9.623 GB, free: 86.34 MB / 0.6048 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/32.96, allocations: 0.7671 MB / 9.624 GB, free: 85.81 MB / 0.6048 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/32.97, allocations: 111.8 kB / 9.624 GB, free: 85.69 MB / 0.6048 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.522e-05/32.97, allocations: 4 kB / 9.624 GB, free: 85.69 MB / 0.6048 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/32.97, allocations: 11.56 kB / 9.624 GB, free: 85.68 MB / 0.6048 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/32.97, allocations: 23.5 kB / 9.624 GB, free: 85.66 MB / 0.6048 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/32.97, allocations: 19.14 kB / 9.624 GB, free: 85.65 MB / 0.6048 GB Notification: Performance of sorting global known variables: time 0.00022/32.97, allocations: 161.8 kB / 9.624 GB, free: 85.53 MB / 0.6048 GB Notification: Performance of sort global known variables: time 6.61e-07/32.97, allocations: 0 / 9.624 GB, free: 85.53 MB / 0.6048 GB Notification: Performance of remove unused functions: time 0.01657/32.98, allocations: 0.8247 MB / 9.625 GB, free: 84.85 MB / 0.6048 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.2363/33.22, allocations: 19.15 MB / 9.644 GB, free: 66.21 MB / 0.6048 GB Notification: Performance of simCode: created initialization part: time 0.001222/33.22, allocations: 452.8 kB / 9.644 GB, free: 65.88 MB / 0.6048 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/33.22, allocations: 0 / 9.644 GB, free: 65.88 MB / 0.6048 GB Notification: Performance of simCode: created simulation system equations: time 0.0006069/33.22, allocations: 211.1 kB / 9.644 GB, free: 65.76 MB / 0.6048 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/33.22, allocations: 134.2 kB / 9.644 GB, free: 65.69 MB / 0.6048 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/33.22, allocations: 0.6485 MB / 9.645 GB, free: 65.15 MB / 0.6048 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/33.22, allocations: 0.8136 MB / 9.646 GB, free: 64.37 MB / 0.6048 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/33.22, allocations: 36.12 kB / 9.646 GB, free: 64.34 MB / 0.6048 GB Notification: Performance of SimCode: time 1.042e-06/33.22, allocations: 3.938 kB / 9.646 GB, free: 64.33 MB / 0.6048 GB Notification: Performance of Templates: time 0.0691/33.29, allocations: 34.67 MB / 9.68 GB, free: 37.38 MB / 0.6048 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