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.001493/0.001493, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001636/0.001636, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001162, allocations: 60.25 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09779/0.09897, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1872/0.2862, allocations: 26.66 MB / 385.6 MB, free: 5.836 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02704/0.3133, allocations: 24.89 MB / 410.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005101/0.3138, allocations: 6.844 kB / 410.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.315, allocations: 290.6 kB / 410.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.3163, allocations: 366.4 kB / 411.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01672/0.333, allocations: 4.02 MB / 415.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001729/0.3348, allocations: 0.9452 MB / 416.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.335, allocations: 103.9 kB / 416.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007231/0.3358, allocations: 386.1 kB / 416.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004382/0.3362, allocations: 309.1 kB / 416.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.571e-05/0.3363, allocations: 37.91 kB / 416.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02367/0.36, allocations: 10.43 MB / 427.3 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002858/0.3603, allocations: 103.7 kB / 427.4 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004679/0.3608, allocations: 231 kB / 427.6 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02752/0.3883, allocations: 11.48 MB / 439.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3884, allocations: 1.719 kB / 439.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3884, allocations: 0 / 439.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.3884, allocations: 3.938 kB / 439.1 MB, free: 10.27 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.005722/0.3941, allocations: 1.144 MB / 440.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.3942, allocations: 8.031 kB / 440.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000531/0.3947, allocations: 71.5 kB / 440.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.3952, allocations: 318.3 kB / 440.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.3952, allocations: 28.66 kB / 440.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.3953, allocations: 35.94 kB / 440.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008307/0.3961, allocations: 463.7 kB / 441.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.3961, allocations: 3.906 kB / 441.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.3962, allocations: 20 kB / 441.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.3962, allocations: 8 kB / 441.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007189/0.3969, allocations: 382.3 kB / 441.6 MB, free: 7.691 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.00339/0.4003, allocations: 2.949 MB / 444.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006277/0.401, allocations: 294.8 kB / 444.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.4012, allocations: 138.3 kB / 444.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002114/0.4033, allocations: 2.47 MB / 447.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.4033, allocations: 42.56 kB / 447.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.4033, allocations: 0 / 447.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005206/0.4086, allocations: 1.284 MB / 448.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.4086, allocations: 51.41 kB / 448.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.4089, allocations: 258.5 kB / 449 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.4089, allocations: 37.7 kB / 449.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.409, allocations: 191.9 kB / 449.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.774e-05/0.4091, allocations: 122.3 kB / 449.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.4092, allocations: 90.03 kB / 449.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4094, allocations: 338.8 kB / 449.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.4096, allocations: 112.8 kB / 449.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.4098, allocations: 226.1 kB / 450.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/0.4103, allocations: 378.3 kB / 450.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4103, allocations: 0 / 450.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007879/0.4111, allocations: 458.9 kB / 451 MB, free: 13.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4112, allocations: 11.94 kB / 451 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4112, allocations: 7.938 kB / 451 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004919/0.4161, allocations: 233.4 kB / 451.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.4165, allocations: 83.91 kB / 451.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.4178, allocations: 1.954 MB / 453.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.418, allocations: 12 kB / 453.3 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.4181, allocations: 20 kB / 453.3 MB, free: 10.83 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.0001855/0.4183, allocations: 165.3 kB / 453.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-05/0.4184, allocations: 39.55 kB / 453.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009879/0.4194, allocations: 0.6864 MB / 454.2 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.4194, allocations: 11.98 kB / 454.2 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.4194, allocations: 0 / 454.2 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007923/0.4202, allocations: 0.8633 MB / 455 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.4216, allocations: 1.187 MB / 456.2 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.4216, allocations: 0 / 456.2 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.4219, allocations: 75.83 kB / 456.3 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001583/0.4235, allocations: 168.6 kB / 456.5 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.4235, allocations: 12 kB / 456.5 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003339/0.4239, allocations: 0.5719 MB / 457 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4239, allocations: 3.984 kB / 457 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009398/0.4248, allocations: 0.7305 MB / 457.8 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/0.4249, allocations: 108.7 kB / 457.9 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.425, allocations: 11.94 kB / 457.9 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.4252, allocations: 8 kB / 457.9 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.4252, allocations: 27.84 kB / 457.9 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.4252, allocations: 18.2 kB / 457.9 MB, free: 5.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002125/0.4255, allocations: 229.9 kB / 458.2 MB, free: 5.703 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4255, allocations: 0 / 458.2 MB, free: 5.703 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003842/0.4293, allocations: 0.7379 MB / 458.9 MB, free: 4.965 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.02356/0.4529, allocations: 6.393 MB / 465.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009668/0.4539, allocations: 481.9 kB / 465.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4539, allocations: 0 / 465.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.4543, allocations: 228.1 kB / 466 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.4553, allocations: 188.8 kB / 466.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.4568, allocations: 0.8882 MB / 467.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.4571, allocations: 0.8051 MB / 467.9 MB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003654/0.4575, allocations: 191.5 kB / 468.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.086e-05/0.4576, allocations: 43.42 kB / 468.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4576, allocations: 0 / 468.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of Templates: time 0.03804/0.4957, allocations: 29.03 MB / 497.1 MB, free: 14.65 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 -s cvode -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/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_trunk_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches