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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008214/0.0008214, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.001897, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000696/0.000696, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009632/0.001659, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9482/0.9482, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1556/1.104, allocations: 49.49 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.424e-05, allocations: 10.11 kB / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01214/0.01216, allocations: 10.73 MB / 232.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00835/0.02052, allocations: 9.238 MB / 242 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.02075, allocations: 7.938 kB / 242 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003749/0.02112, allocations: 143.1 kB / 242.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000568/0.02169, allocations: 401.5 kB / 242.5 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003571/0.02526, allocations: 1.802 MB / 244.3 MB, free: 9.641 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009028/0.02616, allocations: 0.9968 MB / 245.3 MB, free: 8.641 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.02633, allocations: 81.08 kB / 245.4 MB, free: 8.559 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006699/0.027, allocations: 0.5225 MB / 245.9 MB, free: 8.035 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.02731, allocations: 263.2 kB / 246.2 MB, free: 7.777 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.02736, allocations: 40 kB / 246.2 MB, free: 7.738 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007085/0.03445, allocations: 5.426 MB / 251.6 MB, free: 2.301 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.03463, allocations: 91.72 kB / 251.7 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003013/0.03493, allocations: 147.8 kB / 251.9 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008938/0.04386, allocations: 4.705 MB / 256.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-05/0.04388, allocations: 0 / 256.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.04388, allocations: 0 / 256.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.04389, allocations: 0 / 256.6 MB, free: 13.36 MB / 266.7 MB 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.002398/0.04629, allocations: 1.457 MB / 258 MB, free: 11.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.04633, allocations: 12.03 kB / 258 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004348/0.04676, allocations: 208.4 kB / 258.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.04706, allocations: 228.5 kB / 258.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.04708, allocations: 32.66 kB / 258.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.04713, allocations: 36 kB / 258.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004942/0.04762, allocations: 0.4929 MB / 259 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.04763, allocations: 3.938 kB / 259 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.04766, allocations: 20 kB / 259.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.04767, allocations: 8 kB / 259.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.04792, allocations: 199.1 kB / 259.3 MB, free: 10.53 MB / 266.7 MB 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.001807/0.04973, allocations: 1.924 MB / 261.2 MB, free: 8.543 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.05005, allocations: 182.4 kB / 261.4 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.712e-05/0.05011, allocations: 65.33 kB / 261.4 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002872/0.0504, allocations: 147.8 kB / 261.6 MB, free: 8.145 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.05043, allocations: 42.56 kB / 261.6 MB, free: 8.094 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.05043, allocations: 4 kB / 261.6 MB, free: 8.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.003049/0.05348, allocations: 0.9511 MB / 262.6 MB, free: 7.102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.05351, allocations: 55.41 kB / 262.6 MB, free: 7.035 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.05363, allocations: 219.3 kB / 262.8 MB, free: 6.809 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.05365, allocations: 33.7 kB / 262.9 MB, free: 6.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.05372, allocations: 180.4 kB / 263 MB, free: 6.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.05392, allocations: 126.9 kB / 263.2 MB, free: 6.465 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-05/0.05399, allocations: 74.16 kB / 263.2 MB, free: 6.387 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.826e-05/0.05407, allocations: 338.8 kB / 263.6 MB, free: 6.047 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.012e-05/0.05412, allocations: 44.97 kB / 263.6 MB, free: 6.004 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.05422, allocations: 174.5 kB / 263.8 MB, free: 5.781 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.05442, allocations: 256.2 kB / 264 MB, free: 5.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.05442, allocations: 4 kB / 264 MB, free: 5.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002984/0.05472, allocations: 275.2 kB / 264.3 MB, free: 5.195 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.05473, allocations: 4 kB / 264.3 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.05474, allocations: 7.938 kB / 264.3 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/0.05659, allocations: 209.4 kB / 264.5 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.05686, allocations: 111.8 kB / 264.6 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008768/0.05773, allocations: 1.696 MB / 266.3 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.05788, allocations: 16 kB / 266.3 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.0579, allocations: 15.98 kB / 266.4 MB, free: 3.02 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.05803, allocations: 132.6 kB / 266.5 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.05807, allocations: 31.97 kB / 266.5 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004519/0.05852, allocations: 443.7 kB / 267 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.05854, allocations: 7.938 kB / 267 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.05854, allocations: 0 / 267 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003258/0.05886, allocations: 0.5683 MB / 267.5 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006823/0.05955, allocations: 0.6504 MB / 268.2 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.05955, allocations: 0 / 268.2 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.05973, allocations: 79.83 kB / 268.3 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.05977, allocations: 31.7 kB / 268.3 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006311/0.0604, allocations: 163.3 kB / 268.4 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.06043, allocations: 12 kB / 268.5 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002288/0.06066, allocations: 0.5228 MB / 269 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.06066, allocations: 0 / 269 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.06106, allocations: 483.7 kB / 269.5 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.06109, allocations: 11.94 kB / 269.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.06118, allocations: 4 kB / 269.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.06121, allocations: 27.7 kB / 269.5 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.06122, allocations: 15.98 kB / 269.5 MB, free: 15.67 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.551e-05/0.0613, allocations: 78.78 kB / 269.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0613, allocations: 0 / 269.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001572/0.06287, allocations: 371.2 kB / 270 MB, free: 15.23 MB / 282.7 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008198/0.07107, allocations: 3.489 MB / 273.4 MB, free: 11.72 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005919/0.07166, allocations: 328.9 kB / 273.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.673e-05/0.07169, allocations: 7.984 kB / 273.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.07188, allocations: 155.8 kB / 273.9 MB, free: 11.22 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007196/0.0726, allocations: 0.7517 MB / 274.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005216/0.07782, allocations: 0.7864 MB / 275.5 MB, free: 9.531 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.371e-05/0.0779, allocations: 122.6 kB / 275.6 MB, free: 9.391 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003347/0.07824, allocations: 151.1 kB / 275.7 MB, free: 9.246 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.0785, allocations: 175.1 kB / 275.9 MB, free: 9.074 MB / 282.7 MB Notification: Performance of SimCode: time 1.553e-06/0.0785, allocations: 0 / 275.9 MB, free: 9.074 MB / 282.7 MB Notification: Performance of Templates: time 0.1298/0.2083, allocations: 21.61 MB / 297.5 MB, free: 33.96 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1070619728416204]