Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 140.4 kB / 25.59 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9024/0.9024, allocations: 173.4 MB / 202.2 MB, free: 8.289 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 269.2 MB, free: 9.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.954e-05, allocations: 3.125 kB / 269.2 MB, free: 9.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.0121/0.01212, allocations: 11.68 MB / 280.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006847/0.01897, allocations: 9.313 MB / 290.2 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.01913, allocations: 11.94 kB / 290.2 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004152/0.01955, allocations: 182.8 kB / 290.4 MB, free: 4.594 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005994/0.02015, allocations: 0.5513 MB / 291 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.02281, allocations: 2.003 MB / 293 MB, free: 2.031 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008817/0.02369, allocations: 1.421 MB / 294.4 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.02386, allocations: 119 kB / 294.5 MB, free: 488 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000565/0.02443, allocations: 0.7017 MB / 295.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.02477, allocations: 398.8 kB / 295.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.207e-05/0.02482, allocations: 52 kB / 295.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004442/0.02926, allocations: 5.341 MB / 301 MB, free: 9.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.02938, allocations: 159.5 kB / 301.1 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.02955, allocations: 247.6 kB / 301.4 MB, free: 9.578 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005682/0.03524, allocations: 5.032 MB / 306.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.03524, allocations: 3.938 kB / 306.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.03524, allocations: 0 / 306.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.03525, allocations: 0 / 306.4 MB, free: 4.535 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002073/0.03732, allocations: 1.001 MB / 307.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.03735, allocations: 8.031 kB / 307.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004374/0.03779, allocations: 194.8 kB / 307.6 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.03814, allocations: 319.1 kB / 307.9 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.03817, allocations: 36.98 kB / 308 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.544e-05/0.03823, allocations: 59.89 kB / 308 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006744/0.0389, allocations: 0.6969 MB / 308.7 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.03892, allocations: 4 kB / 308.7 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.03895, allocations: 20 kB / 308.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.03896, allocations: 12 kB / 308.7 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003748/0.03934, allocations: 290.5 kB / 309 MB, free: 1.73 MB / 282.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.002292/0.04163, allocations: 3.189 MB / 312.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/0.04204, allocations: 288.8 kB / 312.5 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.04217, allocations: 120.1 kB / 312.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002497/0.04242, allocations: 156.2 kB / 312.8 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.04244, allocations: 41.77 kB / 312.8 MB, free: 13.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 1.633e-06/0.04244, allocations: 0 / 312.8 MB, free: 13.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.004348/0.04679, allocations: 1.39 MB / 314.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.04682, allocations: 63.91 kB / 314.3 MB, free: 12.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.04704, allocations: 320 kB / 314.6 MB, free: 12.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.04708, allocations: 37.7 kB / 314.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.0472, allocations: 291.7 kB / 314.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.41e-05/0.04729, allocations: 202.3 kB / 315.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.0474, allocations: 123.9 kB / 315.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.04753, allocations: 0.5195 MB / 315.7 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.499e-05/0.04762, allocations: 81.23 kB / 315.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.0478, allocations: 300.6 kB / 316.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.04813, allocations: 423.4 kB / 316.5 MB, free: 9.867 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.04813, allocations: 0 / 316.5 MB, free: 9.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0005497/0.04868, allocations: 0.4999 MB / 317 MB, free: 9.344 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.04869, allocations: 8 kB / 317 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.0487, allocations: 7.938 kB / 317 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004157/0.05285, allocations: 435 kB / 317.5 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.05315, allocations: 139.8 kB / 317.6 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.05475, allocations: 4.211 MB / 321.8 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.05487, allocations: 12 kB / 321.8 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.0549, allocations: 31.98 kB / 321.9 MB, free: 4.289 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.05502, allocations: 188.4 kB / 322 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.673e-05/0.0551, allocations: 63.72 kB / 322.1 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006117/0.05571, allocations: 0.6535 MB / 322.8 MB, free: 3.359 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.05572, allocations: 15.98 kB / 322.8 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.05572, allocations: 8 kB / 322.8 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004483/0.05617, allocations: 0.6979 MB / 323.5 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009421/0.05711, allocations: 1.09 MB / 324.6 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-06/0.05712, allocations: 4 kB / 324.6 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.05732, allocations: 95.89 kB / 324.7 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/0.05867, allocations: 322.6 kB / 325 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.05869, allocations: 16 kB / 325 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00045/0.05914, allocations: 1.592 MB / 326.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.05914, allocations: 0 / 326.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005884/0.05973, allocations: 0.7433 MB / 327.3 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.05976, allocations: 39.66 kB / 327.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.0598, allocations: 19.95 kB / 327.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.05992, allocations: 11.94 kB / 327.4 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.05996, allocations: 40.42 kB / 327.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.05999, allocations: 15.98 kB / 327.5 MB, free: 14.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001023/0.06009, allocations: 226.9 kB / 327.7 MB, free: 14.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06009, allocations: 4.125 kB / 327.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00131/0.0614, allocations: 419.1 kB / 328.1 MB, free: 13.8 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.00778/0.06918, allocations: 3.496 MB / 331.6 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006334/0.06981, allocations: 0.5444 MB / 332.1 MB, free: 9.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.06981, allocations: 0 / 332.1 MB, free: 9.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.07012, allocations: 248.8 kB / 332.4 MB, free: 9.488 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006671/0.07078, allocations: 240.2 kB / 332.6 MB, free: 9.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.07217, allocations: 1.134 MB / 333.7 MB, free: 8.086 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.584e-05/0.07225, allocations: 136 kB / 333.9 MB, free: 7.934 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002729/0.07252, allocations: 198.3 kB / 334.1 MB, free: 7.742 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003407/0.07286, allocations: 270 kB / 334.3 MB, free: 7.477 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.07287, allocations: 0 / 334.3 MB, free: 7.477 MB / 314.7 MB Notification: Performance of Templates: time 0.1194/0.1923, allocations: 24.98 MB / 359.3 MB, free: 74.84 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.287769585847855]