Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.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.0009443/0.0009443, allocations: 80.31 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001238/0.001238, allocations: 169.1 kB / 25.61 MB, free: 8.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9036/0.9036, allocations: 177.1 MB / 206 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.784e-05, allocations: 6.25 kB / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01392/0.01395, allocations: 11.74 MB / 285.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00696/0.02091, allocations: 9.317 MB / 295.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.02107, allocations: 11.94 kB / 295.3 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004198/0.02149, allocations: 178.8 kB / 295.4 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006009/0.02209, allocations: 0.5591 MB / 296 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002561/0.02466, allocations: 2.008 MB / 298 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001003/0.02566, allocations: 1.417 MB / 299.4 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.02583, allocations: 115 kB / 299.5 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005198/0.02635, allocations: 0.6976 MB / 300.2 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003337/0.02668, allocations: 406.8 kB / 300.6 MB, free: 9.883 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.027e-05/0.02673, allocations: 52 kB / 300.7 MB, free: 9.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004813/0.03154, allocations: 5.36 MB / 306 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.03166, allocations: 159.5 kB / 306.2 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.03183, allocations: 239.6 kB / 306.4 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005702/0.03753, allocations: 5.044 MB / 311.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.03754, allocations: 0 / 311.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.03754, allocations: 0 / 311.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.03754, allocations: 0 / 311.5 MB, free: 15.02 MB / 298.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.001852/0.0394, allocations: 1.009 MB / 312.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.03943, allocations: 12.03 kB / 312.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004671/0.0399, allocations: 190.8 kB / 312.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.04021, allocations: 319.1 kB / 313 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.04023, allocations: 37 kB / 313 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.04029, allocations: 51.94 kB / 313.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005951/0.04088, allocations: 0.6892 MB / 313.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.0409, allocations: 7.938 kB / 313.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.04093, allocations: 24 kB / 313.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.04094, allocations: 12 kB / 313.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.04131, allocations: 278.6 kB / 314.1 MB, free: 12.23 MB / 298.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.002543/0.04385, allocations: 3.193 MB / 317.3 MB, free: 8.949 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/0.0443, allocations: 296.4 kB / 317.6 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.04442, allocations: 122.8 kB / 317.7 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/0.04469, allocations: 156.2 kB / 317.8 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.04472, allocations: 41.77 kB / 317.9 MB, free: 8.328 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 2.375e-06/0.04472, allocations: 0 / 317.9 MB, free: 8.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.004386/0.04911, allocations: 1.423 MB / 319.3 MB, free: 6.855 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.04913, allocations: 63.84 kB / 319.4 MB, free: 6.781 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.04929, allocations: 316 kB / 319.7 MB, free: 6.453 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.04932, allocations: 33.7 kB / 319.7 MB, free: 6.414 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.04943, allocations: 295.7 kB / 320 MB, free: 6.121 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.856e-05/0.04952, allocations: 190.3 kB / 320.2 MB, free: 5.934 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.04963, allocations: 131.9 kB / 320.3 MB, free: 5.797 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.04975, allocations: 0.5234 MB / 320.8 MB, free: 5.262 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.121e-05/0.04984, allocations: 81.23 kB / 320.9 MB, free: 5.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.05019, allocations: 284.7 kB / 321.2 MB, free: 4.824 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/0.05062, allocations: 431.4 kB / 321.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.05063, allocations: 4 kB / 321.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0006385/0.05127, allocations: 0.523 MB / 322.1 MB, free: 3.777 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.05128, allocations: 4 kB / 322.1 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.05129, allocations: 8 kB / 322.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005438/0.05673, allocations: 459 kB / 322.6 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.05702, allocations: 139.8 kB / 322.7 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.05869, allocations: 4.215 MB / 326.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.05882, allocations: 12 kB / 327 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.05885, allocations: 31.92 kB / 327 MB, free: 14.7 MB / 314.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.0001311/0.05898, allocations: 196.5 kB / 327.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.05912, allocations: 79.52 kB / 327.3 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006373/0.05976, allocations: 0.6457 MB / 327.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.05977, allocations: 20.05 kB / 327.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.05977, allocations: 7.875 kB / 327.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004519/0.06022, allocations: 0.6902 MB / 328.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009749/0.0612, allocations: 1.098 MB / 329.7 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.0612, allocations: 4 kB / 329.7 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.06141, allocations: 99.83 kB / 329.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001369/0.06278, allocations: 322.7 kB / 330.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.06281, allocations: 16 kB / 330.2 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000717/0.06352, allocations: 1.584 MB / 331.7 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.06352, allocations: 0 / 331.7 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000631/0.06416, allocations: 0.7626 MB / 332.5 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.06419, allocations: 43.66 kB / 332.5 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.06423, allocations: 15.95 kB / 332.6 MB, free: 8.875 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.06435, allocations: 15.94 kB / 332.6 MB, free: 8.859 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.06439, allocations: 36.42 kB / 332.6 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.06442, allocations: 19.98 kB / 332.6 MB, free: 8.805 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001022/0.06452, allocations: 223.1 kB / 332.8 MB, free: 8.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.06452, allocations: 0 / 332.8 MB, free: 8.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001621/0.06614, allocations: 427.1 kB / 333.3 MB, free: 8.172 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.007518/0.07366, allocations: 3.492 MB / 336.8 MB, free: 4.664 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006981/0.07436, allocations: 0.5521 MB / 337.3 MB, free: 4.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.07436, allocations: 0 / 337.3 MB, free: 4.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002876/0.07465, allocations: 236.8 kB / 337.5 MB, free: 3.855 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006933/0.07534, allocations: 259.2 kB / 337.8 MB, free: 3.602 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.07699, allocations: 1.122 MB / 338.9 MB, free: 2.445 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.842e-05/0.07707, allocations: 136 kB / 339 MB, free: 2.293 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002801/0.07735, allocations: 204.1 kB / 339.2 MB, free: 2.094 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.07769, allocations: 266 kB / 339.5 MB, free: 1.832 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.07769, allocations: 7.938 kB / 339.5 MB, free: 1.824 MB / 314.7 MB Notification: Performance of Templates: time 0.115/0.1927, allocations: 25.07 MB / 364.6 MB, free: 68.57 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.284651326015592]