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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001176, allocations: 104.2 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 44.83 kB / 301.3 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.127, allocations: 49.44 MB / 350.7 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.273/0.4, allocations: 26.58 MB / 377.3 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03439/0.4345, allocations: 24.86 MB / 402.2 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005352/0.435, allocations: 10.56 kB / 402.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.4362, allocations: 284.4 kB / 402.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.4374, allocations: 363.9 kB / 402.8 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01851/0.456, allocations: 4.014 MB / 406.8 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001954/0.458, allocations: 0.9508 MB / 407.8 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.4583, allocations: 114.1 kB / 407.9 MB, free: 8.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.4594, allocations: 380.3 kB / 408.3 MB, free: 8.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005746/0.46, allocations: 309.2 kB / 408.6 MB, free: 8.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.318e-05/0.4601, allocations: 42.78 kB / 408.6 MB, free: 8.105 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02802/0.4882, allocations: 10.4 MB / 419 MB, free: 72 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003476/0.4886, allocations: 95.81 kB / 419.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005848/0.4892, allocations: 231 kB / 419.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0473/0.5365, allocations: 11.48 MB / 430.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.5365, allocations: 0 / 430.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5366, allocations: 0 / 430.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.5366, allocations: 4 kB / 430.8 MB, free: 4.25 MB / 334.1 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.008214/0.5448, allocations: 1.129 MB / 431.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.5449, allocations: 12.02 kB / 431.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000967/0.5459, allocations: 65.31 kB / 432 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005988/0.5465, allocations: 322.7 kB / 432.3 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.5465, allocations: 24.66 kB / 432.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.121e-05/0.5466, allocations: 32 kB / 432.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.5481, allocations: 463.1 kB / 432.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.5482, allocations: 3.984 kB / 432.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-05/0.5482, allocations: 17.31 kB / 432.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.5483, allocations: 8.875 kB / 432.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.5496, allocations: 383.6 kB / 433.2 MB, free: 1.703 MB / 334.1 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.005338/0.555, allocations: 2.967 MB / 436.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.5562, allocations: 295.1 kB / 436.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.5566, allocations: 137.3 kB / 436.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003712/0.5603, allocations: 2.47 MB / 439.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/0.5604, allocations: 38.56 kB / 439.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 3.938e-06/0.5604, allocations: 0 / 439.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.009318/0.5697, allocations: 1.289 MB / 440.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.5698, allocations: 55.41 kB / 440.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/0.5703, allocations: 266.5 kB / 440.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/0.5703, allocations: 29.7 kB / 440.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.5705, allocations: 184.1 kB / 440.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.5707, allocations: 126.2 kB / 441.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.5709, allocations: 86.03 kB / 441.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.571, allocations: 342.8 kB / 441.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/0.5714, allocations: 108.8 kB / 441.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/0.5719, allocations: 222.1 kB / 441.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008499/0.5727, allocations: 377.5 kB / 442.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5728, allocations: 4 kB / 442.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001437/0.5742, allocations: 458.6 kB / 442.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.5742, allocations: 12.38 kB / 442.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.5743, allocations: 8 kB / 442.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008329/0.5826, allocations: 233.4 kB / 442.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006263/0.5833, allocations: 87.89 kB / 443 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.5855, allocations: 1.944 MB / 444.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/0.5859, allocations: 12.88 kB / 444.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.54e-05/0.586, allocations: 20 kB / 444.9 MB, free: 4.848 MB / 350.1 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 (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 (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.0003096/0.5863, allocations: 165.7 kB / 445.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.5865, allocations: 27.72 kB / 445.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.5882, allocations: 0.6946 MB / 445.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.5882, allocations: 4 kB / 445.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5882, allocations: 0 / 445.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001346/0.5896, allocations: 0.8748 MB / 446.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.5917, allocations: 1.186 MB / 447.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.557e-06/0.5917, allocations: 4.062 kB / 447.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/0.5921, allocations: 63.91 kB / 448 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002183/0.5943, allocations: 180.4 kB / 448.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.141e-05/0.5944, allocations: 12 kB / 448.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004869/0.5948, allocations: 0.5758 MB / 448.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5949, allocations: 3.984 kB / 448.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.5963, allocations: 0.7336 MB / 449.5 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.5965, allocations: 104.7 kB / 449.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.796e-05/0.5966, allocations: 15.94 kB / 449.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.5969, allocations: 8 kB / 449.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.597, allocations: 31.8 kB / 449.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.5971, allocations: 11.98 kB / 449.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003501/0.5974, allocations: 221.9 kB / 449.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5974, allocations: 0 / 449.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.005781/0.6032, allocations: 0.738 MB / 450.6 MB, free: 14.96 MB / 366.1 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.03748/0.6407, allocations: 6.396 MB / 457 MB, free: 8.551 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.6419, allocations: 0.49 MB / 457.5 MB, free: 8.047 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6419, allocations: 3.938 kB / 457.5 MB, free: 8.043 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.6423, allocations: 222.4 kB / 457.7 MB, free: 7.828 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.6435, allocations: 188.4 kB / 457.9 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.6451, allocations: 0.9334 MB / 458.8 MB, free: 6.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.6454, allocations: 0.809 MB / 459.6 MB, free: 5.852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.6455, allocations: 35.44 kB / 459.6 MB, free: 5.816 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.6455, allocations: 0 / 459.6 MB, free: 5.816 MB / 366.1 MB Notification: Performance of Templates: time 0.03703/0.6826, allocations: 29.19 MB / 488.8 MB, free: 8.602 MB / 398.1 MB 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches