Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001997/0.001996, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.925/1.925, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0009983/0.0009983, allocations: 86.64 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.339e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 47.57 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.35/15.47, allocations: 5.796 GB / 6.157 GB, free: 71.33 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/15.47, allocations: 70.53 kB / 6.157 GB, free: 71.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 12.38/27.84, allocations: 3.537 GB / 9.694 GB, free: 109.1 MB / 0.6203 GB Notification: Performance of FrontEnd: time 2.294e-06/27.84, allocations: 4.984 kB / 9.694 GB, free: 109.1 MB / 0.6203 GB Notification: Performance of Transformations before backend: time 4.224e-05/27.84, allocations: 8.578 kB / 9.694 GB, free: 109.1 MB / 0.6203 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.06778/27.91, allocations: 1.667 MB / 9.696 GB, free: 108.2 MB / 0.6203 GB Notification: Performance of prepare preOptimizeDAE: time 6.995e-05/27.91, allocations: 10.12 kB / 9.696 GB, free: 108.2 MB / 0.6203 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007391/27.91, allocations: 59.67 kB / 9.696 GB, free: 108.2 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006099/27.91, allocations: 317.7 kB / 9.696 GB, free: 108 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/27.91, allocations: 28.61 kB / 9.696 GB, free: 108 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.962e-05/27.91, allocations: 32.84 kB / 9.696 GB, free: 108 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/27.91, allocations: 464.4 kB / 9.697 GB, free: 107.9 MB / 0.6203 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/27.91, allocations: 3.656 kB / 9.697 GB, free: 107.9 MB / 0.6203 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.883e-05/27.91, allocations: 13.62 kB / 9.697 GB, free: 107.9 MB / 0.6203 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/27.91, allocations: 14.19 kB / 9.697 GB, free: 107.9 MB / 0.6203 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006889/27.91, allocations: 381.5 kB / 9.697 GB, free: 107.9 MB / 0.6203 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.006914/27.92, allocations: 5.222 MB / 9.702 GB, free: 105.9 MB / 0.6203 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006499/27.92, allocations: 295 kB / 9.703 GB, free: 105.9 MB / 0.6203 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/27.92, allocations: 133.7 kB / 9.703 GB, free: 105.9 MB / 0.6203 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002263/27.92, allocations: 2.052 MB / 9.705 GB, free: 104.1 MB / 0.6203 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/27.92, allocations: 40.31 kB / 9.705 GB, free: 104 MB / 0.6203 GB Notification: Performance of pre-optimization done (n=30): time 3.948e-06/27.92, allocations: 0 / 9.705 GB, free: 104 MB / 0.6203 GB Notification: Performance of matching and sorting (n=34): time 0.004866/27.93, allocations: 1.132 MB / 9.706 GB, free: 103.7 MB / 0.6203 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/27.93, allocations: 60.28 kB / 9.706 GB, free: 103.6 MB / 0.6203 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/27.93, allocations: 233.7 kB / 9.706 GB, free: 103.5 MB / 0.6203 GB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/27.93, allocations: 32.95 kB / 9.706 GB, free: 103.5 MB / 0.6203 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/27.93, allocations: 191 kB / 9.706 GB, free: 103.4 MB / 0.6203 GB Notification: Performance of collectInitialBindings (initialization): time 9.48e-05/27.93, allocations: 114.5 kB / 9.706 GB, free: 103.3 MB / 0.6203 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/27.93, allocations: 7.812 kB / 9.707 GB, free: 103.3 MB / 0.6203 GB Notification: Performance of setup shared object (initialization): time 8.903e-05/27.93, allocations: 339.2 kB / 9.707 GB, free: 103 MB / 0.6203 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/27.93, allocations: 114.2 kB / 9.707 GB, free: 103 MB / 0.6203 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/27.93, allocations: 219 kB / 9.707 GB, free: 102.9 MB / 0.6203 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/27.93, allocations: 149.4 kB / 9.707 GB, free: 102.8 MB / 0.6203 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/27.93, allocations: 0 / 9.707 GB, free: 102.8 MB / 0.6203 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008008/27.93, allocations: 452.5 kB / 9.708 GB, free: 102.8 MB / 0.6203 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/27.93, allocations: 17.59 kB / 9.708 GB, free: 102.7 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/27.93, allocations: 0 / 9.708 GB, free: 102.7 MB / 0.6203 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006782/27.94, allocations: 292.4 kB / 9.708 GB, free: 102.7 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/27.94, allocations: 83.14 kB / 9.708 GB, free: 102.7 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/27.94, allocations: 1.848 MB / 9.71 GB, free: 100.9 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003975/27.94, allocations: 33.56 kB / 9.71 GB, free: 100.9 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/27.94, allocations: 23.7 kB / 9.71 GB, free: 100.9 MB / 0.6203 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.0001419/27.94, allocations: 127.9 kB / 9.71 GB, free: 100.8 MB / 0.6203 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/27.94, allocations: 29 kB / 9.71 GB, free: 100.8 MB / 0.6203 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/27.94, allocations: 0.6925 MB / 9.711 GB, free: 100.7 MB / 0.6203 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/27.94, allocations: 11.36 kB / 9.711 GB, free: 100.7 MB / 0.6203 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/27.94, allocations: 7.531 kB / 9.711 GB, free: 100.7 MB / 0.6203 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007467/27.94, allocations: 0.8584 MB / 9.712 GB, free: 100.2 MB / 0.6203 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/27.94, allocations: 1.169 MB / 9.713 GB, free: 99.92 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/27.94, allocations: 0 / 9.713 GB, free: 99.92 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/27.94, allocations: 68.33 kB / 9.713 GB, free: 99.91 MB / 0.6203 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001783/27.94, allocations: 198.4 kB / 9.713 GB, free: 99.89 MB / 0.6203 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/27.95, allocations: 10.28 kB / 9.713 GB, free: 99.89 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002753/27.95, allocations: 0.5686 MB / 9.714 GB, free: 99.38 MB / 0.6203 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/27.95, allocations: 2.312 kB / 9.714 GB, free: 99.38 MB / 0.6203 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008847/27.95, allocations: 0.7292 MB / 9.714 GB, free: 99.19 MB / 0.6203 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/27.95, allocations: 126.1 kB / 9.714 GB, free: 99.08 MB / 0.6203 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/27.95, allocations: 10.25 kB / 9.714 GB, free: 99.08 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/27.95, allocations: 21.27 kB / 9.714 GB, free: 99.07 MB / 0.6203 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/27.95, allocations: 25.94 kB / 9.714 GB, free: 99.07 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/27.95, allocations: 15.81 kB / 9.714 GB, free: 99.07 MB / 0.6203 GB Notification: Performance of sorting global known variables: time 0.0002383/27.95, allocations: 215.8 kB / 9.715 GB, free: 98.99 MB / 0.6203 GB Notification: Performance of sort global known variables: time 1.4e-07/27.95, allocations: 0 / 9.715 GB, free: 98.99 MB / 0.6203 GB Notification: Performance of remove unused functions: time 0.01951/27.97, allocations: 0.8605 MB / 9.716 GB, free: 98.85 MB / 0.6203 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.126/28.09, allocations: 19.05 MB / 9.734 GB, free: 88.96 MB / 0.6203 GB Notification: Performance of simCode: created initialization part: time 0.00111/28.09, allocations: 498.5 kB / 9.735 GB, free: 88.82 MB / 0.6203 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/28.09, allocations: 0 / 9.735 GB, free: 88.82 MB / 0.6203 GB Notification: Performance of simCode: created simulation system equations: time 0.0003169/28.09, allocations: 212.7 kB / 9.735 GB, free: 88.81 MB / 0.6203 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/28.1, allocations: 180.9 kB / 9.735 GB, free: 88.79 MB / 0.6203 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/28.1, allocations: 0.6505 MB / 9.736 GB, free: 88.54 MB / 0.6203 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/28.1, allocations: 0.8141 MB / 9.736 GB, free: 87.83 MB / 0.6203 GB Notification: Performance of simCode: alias equations: time 0.0004034/28.1, allocations: 189.6 kB / 9.737 GB, free: 87.8 MB / 0.6203 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.257e-05/28.1, allocations: 40.62 kB / 9.737 GB, free: 87.8 MB / 0.6203 GB Notification: Performance of SimCode: time 5.51e-07/28.1, allocations: 0 / 9.737 GB, free: 87.8 MB / 0.6203 GB Notification: Performance of Templates: time 0.04468/28.14, allocations: 34.44 MB / 9.77 GB, free: 68.3 MB / 0.6203 GB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/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_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches