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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001368/0.001368, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001712/0.001712, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 58.3 kB / 306.9 MB, free: 0.6797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08225/0.08345, allocations: 50.54 MB / 357.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1645/0.248, allocations: 26.66 MB / 384.1 MB, free: 5.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02349/0.2715, allocations: 24.9 MB / 409 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003437/0.2719, allocations: 6.062 kB / 409 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007726/0.2727, allocations: 291.3 kB / 409.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007048/0.2735, allocations: 369.8 kB / 409.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01093/0.2844, allocations: 4.025 MB / 413.7 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.2855, allocations: 0.9451 MB / 414.7 MB, free: 44 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.2857, allocations: 107.9 kB / 414.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004911/0.2862, allocations: 378.9 kB / 415.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003348/0.2866, allocations: 305.3 kB / 415.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.832e-05/0.2866, allocations: 44.28 kB / 415.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01871/0.3054, allocations: 10.41 MB / 425.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.3056, allocations: 103.7 kB / 426 MB, free: 6.363 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003799/0.306, allocations: 227.1 kB / 426.2 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0302/0.3362, allocations: 11.48 MB / 437.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3362, allocations: 0 / 437.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3363, allocations: 0 / 437.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.3363, allocations: 0 / 437.7 MB, free: 10.64 MB / 350.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.005709/0.342, allocations: 1.139 MB / 438.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.342, allocations: 12.03 kB / 438.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005423/0.3426, allocations: 63.5 kB / 438.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.343, allocations: 314.4 kB / 439.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.343, allocations: 28.59 kB / 439.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.343, allocations: 36 kB / 439.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008518/0.3439, allocations: 463.7 kB / 439.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.3439, allocations: 3.906 kB / 439.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/0.344, allocations: 19.94 kB / 439.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.344, allocations: 12 kB / 439.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007187/0.3447, allocations: 382.3 kB / 440.1 MB, free: 8.074 MB / 350.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.003245/0.348, allocations: 2.96 MB / 443.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006264/0.3486, allocations: 290.8 kB / 443.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.3488, allocations: 141.5 kB / 443.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002284/0.3511, allocations: 2.462 MB / 446 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.3512, allocations: 38.56 kB / 446 MB, free: 1.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.037e-05/0.3512, allocations: 0 / 446 MB, free: 1.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005127/0.3563, allocations: 1.286 MB / 447.3 MB, free: 80 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.3564, allocations: 59.34 kB / 447.4 MB, free: 8 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.3566, allocations: 262.5 kB / 447.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.3567, allocations: 33.7 kB / 447.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.3568, allocations: 188 kB / 447.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.934e-05/0.3569, allocations: 118.3 kB / 447.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.357, allocations: 94.03 kB / 448 MB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.3572, allocations: 338.8 kB / 448.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.3574, allocations: 104.8 kB / 448.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.3576, allocations: 230 kB / 448.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/0.3582, allocations: 381.5 kB / 449.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3582, allocations: 3.938 kB / 449.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008143/0.359, allocations: 459 kB / 449.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.359, allocations: 11.94 kB / 449.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.359, allocations: 4 kB / 449.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004805/0.3638, allocations: 237.4 kB / 449.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.3642, allocations: 83.91 kB / 449.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.3656, allocations: 1.956 MB / 451.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.3658, allocations: 8.875 kB / 451.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.3658, allocations: 20 kB / 451.8 MB, free: 11.21 MB / 366.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.0001787/0.366, allocations: 161.7 kB / 452 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-05/0.3661, allocations: 35.77 kB / 452 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.3672, allocations: 0.6885 MB / 452.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.3672, allocations: 7.984 kB / 452.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3672, allocations: 11.98 kB / 452.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008249/0.368, allocations: 0.8595 MB / 453.6 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.3694, allocations: 1.19 MB / 454.8 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3695, allocations: 0.875 kB / 454.8 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.3697, allocations: 67.89 kB / 454.9 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/0.3713, allocations: 172.6 kB / 455 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.3714, allocations: 12 kB / 455 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003371/0.3717, allocations: 0.5719 MB / 455.6 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3717, allocations: 5.094 kB / 455.6 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009315/0.3727, allocations: 0.7328 MB / 456.3 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.3e-05/0.3728, allocations: 108.7 kB / 456.4 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.29e-05/0.3728, allocations: 12 kB / 456.5 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.373, allocations: 4 kB / 456.5 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.3731, allocations: 27.91 kB / 456.5 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.3731, allocations: 11.98 kB / 456.5 MB, free: 6.312 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002174/0.3733, allocations: 222 kB / 456.7 MB, free: 6.094 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.482e-06/0.3733, allocations: 3.938 kB / 456.7 MB, free: 6.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003923/0.3773, allocations: 0.7496 MB / 457.5 MB, free: 5.34 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.03322/0.4105, allocations: 6.401 MB / 463.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.4116, allocations: 0.4904 MB / 464.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.4116, allocations: 0 / 464.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003788/0.412, allocations: 228.1 kB / 464.6 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.4131, allocations: 183 kB / 464.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.4146, allocations: 0.9015 MB / 465.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.4149, allocations: 0.809 MB / 466.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003874/0.4153, allocations: 194.9 kB / 466.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.539e-05/0.4154, allocations: 35.38 kB / 466.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4154, allocations: 0 / 466.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of Templates: time 0.04194/0.4574, allocations: 29 MB / 495.7 MB, free: 15.03 MB / 414.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches