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.001695/0.001695, allocations: 108.9 kB / 17.06 MB, free: 6.137 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.001922/0.001922, allocations: 191 kB / 18 MB, free: 5.219 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.36/1.36, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 51.92 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2921, allocations: 49.44 MB / 400.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02648/0.3186, allocations: 26.6 MB / 427.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02542/0.3441, allocations: 24.86 MB / 452.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000367/0.3445, allocations: 4 kB / 452.2 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009099/0.3454, allocations: 306.3 kB / 452.5 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008618/0.3463, allocations: 377.8 kB / 452.9 MB, free: 4.562 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01127/0.3576, allocations: 4.096 MB / 457 MB, free: 472 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.3589, allocations: 0.9425 MB / 457.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002494/0.3592, allocations: 105 kB / 458 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008137/0.36, allocations: 398.6 kB / 458.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004472/0.3604, allocations: 298.8 kB / 458.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.912e-05/0.3605, allocations: 36 kB / 458.7 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01933/0.3799, allocations: 10.42 MB / 469.1 MB, free: 4.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.3802, allocations: 115.6 kB / 469.2 MB, free: 4.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005096/0.3807, allocations: 219.2 kB / 469.5 MB, free: 3.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02525/0.406, allocations: 11.48 MB / 480.9 MB, free: 8.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.406, allocations: 0 / 480.9 MB, free: 8.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.406, allocations: 4 kB / 480.9 MB, free: 8.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.4061, allocations: 0 / 480.9 MB, free: 8.43 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.005759/0.4118, allocations: 1.146 MB / 482.1 MB, free: 7.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.4119, allocations: 8.031 kB / 482.1 MB, free: 7.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005411/0.4124, allocations: 63.59 kB / 482.2 MB, free: 7.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.4129, allocations: 326.8 kB / 482.5 MB, free: 6.801 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.4129, allocations: 24.66 kB / 482.5 MB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.764e-05/0.413, allocations: 32 kB / 482.5 MB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008721/0.4139, allocations: 463.7 kB / 483 MB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.4139, allocations: 7.938 kB / 483 MB, free: 6.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.119e-05/0.414, allocations: 16 kB / 483 MB, free: 6.234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.414, allocations: 11.94 kB / 483 MB, free: 6.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007357/0.4147, allocations: 390.2 kB / 483.4 MB, free: 5.84 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.003168/0.4179, allocations: 2.945 MB / 486.3 MB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000643/0.4186, allocations: 282.8 kB / 486.6 MB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.4188, allocations: 140.8 kB / 486.8 MB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002318/0.4211, allocations: 2.466 MB / 489.2 MB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.4211, allocations: 42.5 kB / 489.3 MB, free: 15.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.864e-06/0.4212, allocations: 0 / 489.3 MB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005272/0.4264, allocations: 1.301 MB / 490.6 MB, free: 13.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.4265, allocations: 55.41 kB / 490.6 MB, free: 13.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.4268, allocations: 258.5 kB / 490.9 MB, free: 13.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.4268, allocations: 33.7 kB / 490.9 MB, free: 13.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.4269, allocations: 188.1 kB / 491.1 MB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.181e-05/0.427, allocations: 122.2 kB / 491.2 MB, free: 13.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.4271, allocations: 78.12 kB / 491.3 MB, free: 13.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4273, allocations: 342.8 kB / 491.6 MB, free: 12.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.4275, allocations: 116.8 kB / 491.7 MB, free: 12.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.4278, allocations: 226 kB / 492 MB, free: 12.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/0.4283, allocations: 369.5 kB / 492.3 MB, free: 11.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4283, allocations: 4 kB / 492.3 MB, free: 11.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008305/0.4291, allocations: 466.5 kB / 492.8 MB, free: 11.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4292, allocations: 4.438 kB / 492.8 MB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4292, allocations: 7.938 kB / 492.8 MB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004799/0.434, allocations: 241.4 kB / 493 MB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.4343, allocations: 91.83 kB / 493.1 MB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.4358, allocations: 1.935 MB / 495 MB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.436, allocations: 8.188 kB / 495.1 MB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.436, allocations: 24 kB / 495.1 MB, free: 8.992 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.000183/0.4362, allocations: 167 kB / 495.2 MB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.849e-05/0.4363, allocations: 31.66 kB / 495.3 MB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.4373, allocations: 0.6966 MB / 496 MB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.4374, allocations: 11.97 kB / 496 MB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.4374, allocations: 0 / 496 MB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008492/0.4382, allocations: 0.8641 MB / 496.8 MB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.4397, allocations: 1.187 MB / 498 MB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.4397, allocations: 3.984 kB / 498 MB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.44, allocations: 67.91 kB / 498.1 MB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/0.4416, allocations: 176.4 kB / 498.3 MB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.4416, allocations: 12 kB / 498.3 MB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003345/0.442, allocations: 0.5719 MB / 498.9 MB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.442, allocations: 4 kB / 498.9 MB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009645/0.443, allocations: 0.7312 MB / 499.6 MB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.629e-05/0.4431, allocations: 108.7 kB / 499.7 MB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.4431, allocations: 15.91 kB / 499.7 MB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.4433, allocations: 4 kB / 499.7 MB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.4434, allocations: 27.91 kB / 499.7 MB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.4434, allocations: 11.98 kB / 499.8 MB, free: 4.078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002115/0.4436, allocations: 225.9 kB / 500 MB, free: 3.855 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4436, allocations: 0 / 500 MB, free: 3.855 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00442/0.4481, allocations: 0.7379 MB / 0.489 GB, free: 3.117 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.02514/0.4732, allocations: 6.385 MB / 0.4952 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000987/0.4742, allocations: 487.3 kB / 0.4957 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.4743, allocations: 4 kB / 0.4957 GB, free: 12.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004124/0.4747, allocations: 224.2 kB / 0.4959 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.4757, allocations: 200.2 kB / 0.4961 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.4772, allocations: 0.887 MB / 0.497 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.4776, allocations: 0.8051 MB / 0.4977 GB, free: 10.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003853/0.478, allocations: 183.6 kB / 0.4979 GB, free: 9.883 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/0.4781, allocations: 43.42 kB / 0.498 GB, free: 9.844 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4781, allocations: 0 / 0.498 GB, free: 9.844 MB / 430.1 MB Notification: Performance of Templates: time 0.03873/0.5168, allocations: 29.04 MB / 0.5263 GB, free: 12.83 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/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_4.0.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches