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.001225/0.001226, allocations: 171.5 kB / 17.39 MB, free: 4.395 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.338/1.338, allocations: 223.3 MB / 241.4 MB, free: 11.68 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.0008052/0.0008049, allocations: 98.81 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003922, allocations: 11.94 kB / 352.3 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2485, allocations: 50.4 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.77/11.02, allocations: 5.751 GB / 6.144 GB, free: 144.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/11.02, allocations: 77.83 kB / 6.144 GB, free: 144.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.844/16.87, allocations: 2.281 GB / 8.425 GB, free: 88.68 MB / 0.62 GB Notification: Performance of FrontEnd: time 2.083e-06/16.87, allocations: 0 / 8.425 GB, free: 88.68 MB / 0.62 GB Notification: Performance of Transformations before backend: time 3.02e-05/16.87, allocations: 7.469 kB / 8.425 GB, free: 88.68 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.03015/16.9, allocations: 1.699 MB / 8.426 GB, free: 87.77 MB / 0.62 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/16.9, allocations: 9.625 kB / 8.426 GB, free: 87.77 MB / 0.62 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005974/16.9, allocations: 70.17 kB / 8.427 GB, free: 87.75 MB / 0.62 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/16.9, allocations: 312.6 kB / 8.427 GB, free: 87.54 MB / 0.62 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/16.9, allocations: 31.31 kB / 8.427 GB, free: 87.53 MB / 0.62 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-05/16.9, allocations: 32.62 kB / 8.427 GB, free: 87.53 MB / 0.62 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008223/16.9, allocations: 458.7 kB / 8.427 GB, free: 87.41 MB / 0.62 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/16.9, allocations: 0 / 8.427 GB, free: 87.41 MB / 0.62 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/16.9, allocations: 22.12 kB / 8.427 GB, free: 87.4 MB / 0.62 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/16.9, allocations: 7.875 kB / 8.427 GB, free: 87.4 MB / 0.62 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006568/16.9, allocations: 386.9 kB / 8.428 GB, free: 87.39 MB / 0.62 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.005355/16.9, allocations: 5.222 MB / 8.433 GB, free: 84.48 MB / 0.62 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005776/16.9, allocations: 284.4 kB / 8.433 GB, free: 84.32 MB / 0.62 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/16.9, allocations: 130.6 kB / 8.433 GB, free: 84.25 MB / 0.62 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001903/16.91, allocations: 2.05 MB / 8.435 GB, free: 82.05 MB / 0.62 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/16.91, allocations: 41.56 kB / 8.435 GB, free: 82 MB / 0.62 GB Notification: Performance of pre-optimization done (n=30): time 2.014e-06/16.91, allocations: 0 / 8.435 GB, free: 82 MB / 0.62 GB Notification: Performance of matching and sorting (n=34): time 0.004556/16.91, allocations: 1.288 MB / 8.437 GB, free: 81.05 MB / 0.62 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/16.91, allocations: 59.34 kB / 8.437 GB, free: 80.98 MB / 0.62 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/16.91, allocations: 263.7 kB / 8.437 GB, free: 80.8 MB / 0.62 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/16.91, allocations: 29.64 kB / 8.437 GB, free: 80.77 MB / 0.62 GB Notification: Performance of collectInitialEqns (initialization): time 7.686e-05/16.91, allocations: 193.2 kB / 8.437 GB, free: 80.63 MB / 0.62 GB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/16.91, allocations: 117.3 kB / 8.437 GB, free: 80.56 MB / 0.62 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/16.91, allocations: 6.875 kB / 8.437 GB, free: 80.56 MB / 0.62 GB Notification: Performance of setup shared object (initialization): time 6.004e-05/16.91, allocations: 342.6 kB / 8.438 GB, free: 80.24 MB / 0.62 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/16.91, allocations: 110.4 kB / 8.438 GB, free: 80.18 MB / 0.62 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/16.91, allocations: 224.5 kB / 8.438 GB, free: 79.98 MB / 0.62 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004003/16.91, allocations: 378.7 kB / 8.438 GB, free: 79.7 MB / 0.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/16.91, allocations: 4 kB / 8.438 GB, free: 79.7 MB / 0.62 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007127/16.91, allocations: 454.3 kB / 8.439 GB, free: 79.39 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/16.91, allocations: 11.94 kB / 8.439 GB, free: 79.38 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/16.91, allocations: 4 kB / 8.439 GB, free: 79.38 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006049/16.92, allocations: 303 kB / 8.439 GB, free: 79.21 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/16.92, allocations: 87.14 kB / 8.439 GB, free: 79.14 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009902/16.92, allocations: 1.843 MB / 8.441 GB, free: 77.25 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/16.92, allocations: 27.72 kB / 8.441 GB, free: 77.23 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/16.92, allocations: 26.12 kB / 8.441 GB, free: 77.21 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 () * 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.0001793/16.92, allocations: 163.5 kB / 8.441 GB, free: 77.07 MB / 0.62 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.527e-05/16.92, allocations: 31.62 kB / 8.441 GB, free: 77.04 MB / 0.62 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008656/16.92, allocations: 0.6943 MB / 8.442 GB, free: 76.66 MB / 0.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/16.92, allocations: 11.89 kB / 8.442 GB, free: 76.65 MB / 0.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/16.92, allocations: 0 / 8.442 GB, free: 76.65 MB / 0.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006087/16.92, allocations: 0.8554 MB / 8.443 GB, free: 75.94 MB / 0.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/16.92, allocations: 1.191 MB / 8.444 GB, free: 75.21 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/16.92, allocations: 0 / 8.444 GB, free: 75.21 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/16.92, allocations: 74.16 kB / 8.444 GB, free: 75.15 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/16.93, allocations: 192 kB / 8.444 GB, free: 75.06 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/16.93, allocations: 15.62 kB / 8.444 GB, free: 75.05 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002151/16.93, allocations: 0.5733 MB / 8.445 GB, free: 74.5 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/16.93, allocations: 0 / 8.445 GB, free: 74.5 MB / 0.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007578/16.93, allocations: 0.7313 MB / 8.445 GB, free: 74.02 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 9.496e-05/16.93, allocations: 123.7 kB / 8.445 GB, free: 73.89 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/16.93, allocations: 11.75 kB / 8.445 GB, free: 73.89 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/16.93, allocations: 19.55 kB / 8.445 GB, free: 73.88 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/16.93, allocations: 23.98 kB / 8.445 GB, free: 73.87 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/16.93, allocations: 19.2 kB / 8.445 GB, free: 73.86 MB / 0.62 GB Notification: Performance of sorting global known variables: time 0.0001745/16.93, allocations: 219.1 kB / 8.446 GB, free: 73.71 MB / 0.62 GB Notification: Performance of sort global known variables: time 1.31e-07/16.93, allocations: 4 kB / 8.446 GB, free: 73.71 MB / 0.62 GB Notification: Performance of remove unused functions: time 0.01032/16.94, allocations: 0.8584 MB / 8.447 GB, free: 73 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 () * 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.1108/17.05, allocations: 19.06 MB / 8.465 GB, free: 54.51 MB / 0.62 GB Notification: Performance of simCode: created initialization part: time 0.000831/17.05, allocations: 480.5 kB / 8.466 GB, free: 54.17 MB / 0.62 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/17.05, allocations: 0.875 kB / 8.466 GB, free: 54.17 MB / 0.62 GB Notification: Performance of simCode: created simulation system equations: time 0.0002963/17.05, allocations: 217.5 kB / 8.466 GB, free: 54.05 MB / 0.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/17.05, allocations: 197.1 kB / 8.466 GB, free: 53.95 MB / 0.62 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/17.05, allocations: 1.084 MB / 8.467 GB, free: 53.05 MB / 0.62 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/17.05, allocations: 0.8083 MB / 8.468 GB, free: 52.27 MB / 0.62 GB Notification: Performance of simCode: alias equations: time 0.0003654/17.05, allocations: 186 kB / 8.468 GB, free: 52.16 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.071e-05/17.05, allocations: 39.28 kB / 8.468 GB, free: 52.12 MB / 0.62 GB Notification: Performance of SimCode: time 3e-07/17.05, allocations: 0 / 8.468 GB, free: 52.12 MB / 0.62 GB Notification: Performance of Templates: time 0.03897/17.09, allocations: 33.76 MB / 8.501 GB, free: 25.68 MB / 0.62 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/jenkins1/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