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.00182/0.00182, allocations: 201 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 226.5 MB / 245.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009127/0.0009129, allocations: 98.45 kB / 297.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002348/0.000235, allocations: 8 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2494, allocations: 51.29 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11/11.25, allocations: 5.752 GB / 6.151 GB, free: 163.9 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/11.25, allocations: 74.88 kB / 6.151 GB, free: 163.9 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.304/17.55, allocations: 2.336 GB / 8.488 GB, free: 85.88 MB / 0.6359 GB Notification: Performance of FrontEnd: time 2.224e-06/17.55, allocations: 0 / 8.488 GB, free: 85.88 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 2.143e-05/17.55, allocations: 9.719 kB / 8.488 GB, free: 85.88 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.03096/17.58, allocations: 1.706 MB / 8.489 GB, free: 84.97 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/17.58, allocations: 7.281 kB / 8.489 GB, free: 84.97 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005432/17.58, allocations: 68.45 kB / 8.489 GB, free: 84.95 MB / 0.6359 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/17.58, allocations: 321.6 kB / 8.49 GB, free: 84.73 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/17.58, allocations: 28.44 kB / 8.49 GB, free: 84.73 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/17.58, allocations: 29.88 kB / 8.49 GB, free: 84.73 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007685/17.58, allocations: 463.9 kB / 8.49 GB, free: 84.61 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/17.58, allocations: 192 / 8.49 GB, free: 84.61 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/17.58, allocations: 17.53 kB / 8.49 GB, free: 84.61 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/17.58, allocations: 11 kB / 8.49 GB, free: 84.61 MB / 0.6359 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005793/17.58, allocations: 383.9 kB / 8.491 GB, free: 84.59 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.005065/17.59, allocations: 5.208 MB / 8.496 GB, free: 82.6 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000591/17.59, allocations: 303.2 kB / 8.496 GB, free: 82.56 MB / 0.6359 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/17.59, allocations: 135.8 kB / 8.496 GB, free: 82.55 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001937/17.59, allocations: 2.048 MB / 8.498 GB, free: 80.76 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/17.59, allocations: 39.91 kB / 8.498 GB, free: 80.72 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=30): time 2.424e-06/17.59, allocations: 0 / 8.498 GB, free: 80.72 MB / 0.6359 GB Notification: Performance of matching and sorting (n=34): time 0.004483/17.6, allocations: 1.282 MB / 8.499 GB, free: 80.29 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/17.6, allocations: 59.22 kB / 8.499 GB, free: 80.22 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/17.6, allocations: 259.5 kB / 8.5 GB, free: 80.12 MB / 0.6359 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/17.6, allocations: 35.73 kB / 8.5 GB, free: 80.09 MB / 0.6359 GB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/17.6, allocations: 181.8 kB / 8.5 GB, free: 79.97 MB / 0.6359 GB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/17.6, allocations: 120.5 kB / 8.5 GB, free: 79.91 MB / 0.6359 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/17.6, allocations: 15.09 kB / 8.5 GB, free: 79.9 MB / 0.6359 GB Notification: Performance of setup shared object (initialization): time 6.894e-05/17.6, allocations: 336.5 kB / 8.5 GB, free: 79.59 MB / 0.6359 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/17.6, allocations: 111.8 kB / 8.5 GB, free: 79.59 MB / 0.6359 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/17.6, allocations: 230 kB / 8.501 GB, free: 79.45 MB / 0.6359 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/17.6, allocations: 377.2 kB / 8.501 GB, free: 79.3 MB / 0.6359 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/17.6, allocations: 0 / 8.501 GB, free: 79.3 MB / 0.6359 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007079/17.6, allocations: 458.2 kB / 8.502 GB, free: 79.2 MB / 0.6359 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/17.6, allocations: 8 kB / 8.502 GB, free: 79.2 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/17.6, allocations: 2.312 kB / 8.502 GB, free: 79.2 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006152/17.6, allocations: 297.4 kB / 8.502 GB, free: 79.18 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/17.6, allocations: 92.03 kB / 8.502 GB, free: 79.17 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/17.61, allocations: 1.843 MB / 8.504 GB, free: 77.38 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/17.61, allocations: 26.41 kB / 8.504 GB, free: 77.38 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/17.61, allocations: 26.73 kB / 8.504 GB, free: 77.38 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.0001984/17.61, allocations: 162.2 kB / 8.504 GB, free: 77.26 MB / 0.6359 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/17.61, allocations: 34.91 kB / 8.504 GB, free: 77.24 MB / 0.6359 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009207/17.61, allocations: 0.6946 MB / 8.505 GB, free: 77.15 MB / 0.6359 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/17.61, allocations: 7.594 kB / 8.505 GB, free: 77.15 MB / 0.6359 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/17.61, allocations: 0 / 8.505 GB, free: 77.15 MB / 0.6359 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000621/17.61, allocations: 0.8683 MB / 8.505 GB, free: 76.67 MB / 0.6359 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/17.61, allocations: 1.184 MB / 8.507 GB, free: 76.34 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/17.61, allocations: 0 / 8.507 GB, free: 76.34 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/17.61, allocations: 73.08 kB / 8.507 GB, free: 76.34 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001717/17.61, allocations: 190.9 kB / 8.507 GB, free: 76.33 MB / 0.6359 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/17.61, allocations: 16.59 kB / 8.507 GB, free: 76.32 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002369/17.61, allocations: 0.5737 MB / 8.507 GB, free: 75.8 MB / 0.6359 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/17.61, allocations: 3.938 kB / 8.507 GB, free: 75.79 MB / 0.6359 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007644/17.61, allocations: 0.7302 MB / 8.508 GB, free: 75.62 MB / 0.6359 GB Notification: Performance of postOpt removeConstants (simulation): time 9.535e-05/17.61, allocations: 124 kB / 8.508 GB, free: 75.51 MB / 0.6359 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/17.61, allocations: 9.906 kB / 8.508 GB, free: 75.51 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/17.61, allocations: 17.22 kB / 8.508 GB, free: 75.51 MB / 0.6359 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/17.61, allocations: 30.08 kB / 8.508 GB, free: 75.5 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/17.61, allocations: 18.06 kB / 8.508 GB, free: 75.5 MB / 0.6359 GB Notification: Performance of sorting global known variables: time 0.000195/17.61, allocations: 220.1 kB / 8.509 GB, free: 75.42 MB / 0.6359 GB Notification: Performance of sort global known variables: time 2.7e-07/17.61, allocations: 0 / 8.509 GB, free: 75.42 MB / 0.6359 GB Notification: Performance of remove unused functions: time 0.01108/17.62, allocations: 0.859 MB / 8.509 GB, free: 75.29 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.1131/17.74, allocations: 19.08 MB / 8.528 GB, free: 65.43 MB / 0.6359 GB Notification: Performance of simCode: created initialization part: time 0.001021/17.74, allocations: 473.9 kB / 8.528 GB, free: 65.3 MB / 0.6359 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/17.74, allocations: 0 / 8.528 GB, free: 65.3 MB / 0.6359 GB Notification: Performance of simCode: created simulation system equations: time 0.0003294/17.74, allocations: 220.3 kB / 8.529 GB, free: 65.25 MB / 0.6359 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/17.74, allocations: 190.1 kB / 8.529 GB, free: 65.15 MB / 0.6359 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/17.74, allocations: 1.093 MB / 8.53 GB, free: 64.25 MB / 0.6359 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/17.74, allocations: 0.805 MB / 8.531 GB, free: 63.46 MB / 0.6359 GB Notification: Performance of simCode: alias equations: time 0.0003732/17.74, allocations: 192.8 kB / 8.531 GB, free: 63.34 MB / 0.6359 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/17.74, allocations: 42.88 kB / 8.531 GB, free: 63.3 MB / 0.6359 GB Notification: Performance of SimCode: time 5.91e-07/17.74, allocations: 0 / 8.531 GB, free: 63.3 MB / 0.6359 GB Notification: Performance of Templates: time 0.04247/17.78, allocations: 33.82 MB / 8.564 GB, free: 39.3 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/jenkins1/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