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.001385/0.001385, allocations: 111 kB / 17.74 MB, free: 5.34 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.001516/0.001516, allocations: 188.4 kB / 18.67 MB, free: 4.418 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.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 55.91 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2677, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02601/0.2938, allocations: 26.59 MB / 428 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02412/0.3179, allocations: 24.87 MB / 452.9 MB, free: 5.242 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004291/0.3184, allocations: 4 kB / 452.9 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00088/0.3193, allocations: 298.3 kB / 453.2 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007739/0.3201, allocations: 361.9 kB / 453.5 MB, free: 4.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01079/0.3309, allocations: 4.009 MB / 457.5 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.3322, allocations: 0.9464 MB / 458.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.3325, allocations: 105 kB / 458.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005703/0.333, allocations: 394.6 kB / 459 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.3334, allocations: 294.9 kB / 459.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.382e-05/0.3334, allocations: 36 kB / 459.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01867/0.3521, allocations: 10.42 MB / 469.7 MB, free: 4.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002229/0.3524, allocations: 107.6 kB / 469.8 MB, free: 4.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000347/0.3527, allocations: 227.2 kB / 470 MB, free: 4.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03151/0.3842, allocations: 11.48 MB / 481.5 MB, free: 8.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.3843, allocations: 0 / 481.5 MB, free: 8.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3843, allocations: 0 / 481.5 MB, free: 8.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.3843, allocations: 0 / 481.5 MB, free: 8.539 MB / 398.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.006402/0.3907, allocations: 1.146 MB / 482.7 MB, free: 7.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3908, allocations: 8.031 kB / 482.7 MB, free: 7.332 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000584/0.3914, allocations: 63.59 kB / 482.7 MB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004737/0.3919, allocations: 322.8 kB / 483 MB, free: 6.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.3919, allocations: 28.66 kB / 483.1 MB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.751e-05/0.392, allocations: 32 kB / 483.1 MB, free: 6.855 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008119/0.3928, allocations: 463.7 kB / 483.6 MB, free: 6.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.3928, allocations: 11.88 kB / 483.6 MB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.3929, allocations: 16 kB / 483.6 MB, free: 6.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.3929, allocations: 8 kB / 483.6 MB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000671/0.3936, allocations: 390.2 kB / 484 MB, free: 5.949 MB / 398.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.003521/0.3971, allocations: 2.941 MB / 486.9 MB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/0.3977, allocations: 290.8 kB / 487.2 MB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.3979, allocations: 136.8 kB / 487.3 MB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002195/0.4001, allocations: 2.47 MB / 489.8 MB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.4002, allocations: 42.5 kB / 489.8 MB, free: 15.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.044e-06/0.4002, allocations: 0 / 489.8 MB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.00516/0.4054, allocations: 1.293 MB / 491.1 MB, free: 13.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.4054, allocations: 55.41 kB / 491.2 MB, free: 13.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.4057, allocations: 262.5 kB / 491.5 MB, free: 13.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.4057, allocations: 37.7 kB / 491.5 MB, free: 13.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.4059, allocations: 184.1 kB / 491.7 MB, free: 13.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.249e-05/0.406, allocations: 122.2 kB / 491.8 MB, free: 13.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.4061, allocations: 82.12 kB / 491.9 MB, free: 13.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4062, allocations: 334.8 kB / 492.2 MB, free: 12.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.4064, allocations: 112.8 kB / 492.3 MB, free: 12.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.4066, allocations: 234 kB / 492.5 MB, free: 12.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004835/0.4071, allocations: 373.5 kB / 492.9 MB, free: 12.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4071, allocations: 4 kB / 492.9 MB, free: 12.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008133/0.408, allocations: 466.5 kB / 493.4 MB, free: 11.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.408, allocations: 4 kB / 493.4 MB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.408, allocations: 4 kB / 493.4 MB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004952/0.413, allocations: 237.8 kB / 493.6 MB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.4134, allocations: 95.83 kB / 493.7 MB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.4148, allocations: 1.935 MB / 495.6 MB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.4151, allocations: 12 kB / 495.6 MB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.4151, allocations: 23.98 kB / 495.7 MB, free: 9.098 MB / 414.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.0002138/0.4153, allocations: 161.7 kB / 495.8 MB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.4154, allocations: 35.81 kB / 495.9 MB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.4165, allocations: 0.7005 MB / 496.6 MB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.4165, allocations: 7.984 kB / 496.6 MB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.4165, allocations: 0 / 496.6 MB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007723/0.4173, allocations: 0.8602 MB / 497.4 MB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.4187, allocations: 1.187 MB / 498.6 MB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.4188, allocations: 0 / 498.6 MB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.419, allocations: 71.91 kB / 498.7 MB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001575/0.4206, allocations: 176.4 kB / 498.9 MB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.4207, allocations: 16.06 kB / 498.9 MB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003432/0.421, allocations: 0.5719 MB / 499.4 MB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.421, allocations: 3.938 kB / 499.4 MB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000926/0.422, allocations: 0.7272 MB / 0.4884 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.4221, allocations: 108.7 kB / 0.4886 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.208e-05/0.4222, allocations: 15.91 kB / 0.4886 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.4224, allocations: 8.156 kB / 0.4886 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.4224, allocations: 27.91 kB / 0.4886 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.4225, allocations: 8 kB / 0.4886 GB, free: 4.188 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002222/0.4227, allocations: 225.9 kB / 0.4888 GB, free: 3.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4227, allocations: 0 / 0.4888 GB, free: 3.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004683/0.4274, allocations: 0.7379 MB / 0.4895 GB, free: 3.227 MB / 414.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.02414/0.4515, allocations: 6.387 MB / 0.4958 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.4527, allocations: 494.4 kB / 0.4963 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.4527, allocations: 0 / 0.4963 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004646/0.4532, allocations: 224.2 kB / 0.4965 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.4544, allocations: 197.3 kB / 0.4967 GB, free: 11.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.456, allocations: 0.916 MB / 0.4975 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.4564, allocations: 0.8051 MB / 0.4983 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.4565, allocations: 43.44 kB / 0.4984 GB, free: 10.1 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4565, allocations: 4 kB / 0.4984 GB, free: 10.09 MB / 430.1 MB Notification: Performance of Templates: time 0.03595/0.4925, allocations: 29.28 MB / 0.527 GB, free: 12.79 MB / 462.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