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.001103/0.001104, allocations: 115.8 kB / 17.74 MB, free: 5.344 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.001084/0.001084, allocations: 189.5 kB / 18.67 MB, free: 4.422 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.295/1.295, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 51.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.295, allocations: 49.44 MB / 401.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.0269/0.322, allocations: 26.59 MB / 428 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02627/0.3483, allocations: 24.86 MB / 452.9 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004499/0.3488, allocations: 8 kB / 452.9 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009056/0.3497, allocations: 294.3 kB / 453.2 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008779/0.3507, allocations: 365.9 kB / 453.5 MB, free: 4.582 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0127/0.3634, allocations: 4.01 MB / 457.5 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001351/0.3648, allocations: 0.9425 MB / 458.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.365, allocations: 113 kB / 458.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005867/0.3656, allocations: 394.6 kB / 459 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003362/0.3659, allocations: 306.8 kB / 459.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.038e-05/0.366, allocations: 36 kB / 459.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01908/0.3851, allocations: 10.42 MB / 469.7 MB, free: 4.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002615/0.3854, allocations: 107.6 kB / 469.8 MB, free: 4.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004028/0.3858, allocations: 227.2 kB / 470 MB, free: 4.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03376/0.4196, allocations: 11.48 MB / 481.5 MB, free: 8.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/0.4196, allocations: 0 / 481.5 MB, free: 8.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4197, allocations: 0 / 481.5 MB, free: 8.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.4197, allocations: 0 / 481.5 MB, free: 8.523 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.007099/0.4268, allocations: 1.142 MB / 482.7 MB, free: 7.328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.4268, allocations: 16.03 kB / 482.7 MB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006286/0.4275, allocations: 63.59 kB / 482.7 MB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005793/0.4281, allocations: 318.8 kB / 483 MB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.4281, allocations: 24.66 kB / 483.1 MB, free: 6.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.71e-05/0.4282, allocations: 39.92 kB / 483.1 MB, free: 6.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008749/0.4291, allocations: 467.7 kB / 483.6 MB, free: 6.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.4291, allocations: 3.938 kB / 483.6 MB, free: 6.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.4291, allocations: 15.98 kB / 483.6 MB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.4292, allocations: 8 kB / 483.6 MB, free: 6.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006907/0.4299, allocations: 390.3 kB / 484 MB, free: 5.934 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.003748/0.4336, allocations: 2.937 MB / 486.9 MB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/0.4343, allocations: 298.4 kB / 487.2 MB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.4345, allocations: 132.8 kB / 487.3 MB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002315/0.4368, allocations: 2.478 MB / 489.8 MB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.4369, allocations: 34.5 kB / 489.8 MB, free: 15.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.414e-06/0.4369, allocations: 0 / 489.8 MB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005151/0.4421, allocations: 1.293 MB / 491.1 MB, free: 13.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.4421, allocations: 55.41 kB / 491.2 MB, free: 13.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.4424, allocations: 266.5 kB / 491.5 MB, free: 13.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.4425, allocations: 33.7 kB / 491.5 MB, free: 13.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.4426, allocations: 192.1 kB / 491.7 MB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.405e-05/0.4427, allocations: 114.2 kB / 491.8 MB, free: 13.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.4428, allocations: 82.11 kB / 491.9 MB, free: 13.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4429, allocations: 338.8 kB / 492.2 MB, free: 12.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.4431, allocations: 112.8 kB / 492.3 MB, free: 12.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.4434, allocations: 233.9 kB / 492.5 MB, free: 12.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004972/0.4439, allocations: 373.5 kB / 492.9 MB, free: 12.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4439, allocations: 0 / 492.9 MB, free: 12.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008439/0.4448, allocations: 466.5 kB / 493.4 MB, free: 11.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.4448, allocations: 11.98 kB / 493.4 MB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.4448, allocations: 4 kB / 493.4 MB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004902/0.4497, allocations: 229.4 kB / 493.6 MB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.4501, allocations: 92.17 kB / 493.7 MB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.4517, allocations: 1.943 MB / 495.6 MB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.452, allocations: 12 kB / 495.6 MB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.452, allocations: 20 kB / 495.7 MB, free: 9.086 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.000245/0.4523, allocations: 157.7 kB / 495.8 MB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.818e-05/0.4524, allocations: 31.66 kB / 495.8 MB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.4534, allocations: 0.7007 MB / 496.5 MB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.4534, allocations: 4 kB / 496.6 MB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.4534, allocations: 0 / 496.6 MB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008236/0.4542, allocations: 0.8563 MB / 497.4 MB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.4557, allocations: 1.198 MB / 498.6 MB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.4557, allocations: 0 / 498.6 MB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.456, allocations: 63.91 kB / 498.7 MB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/0.4577, allocations: 180.4 kB / 498.8 MB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.4577, allocations: 8 kB / 498.9 MB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003548/0.4581, allocations: 0.5719 MB / 499.4 MB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4581, allocations: 7.969 kB / 499.4 MB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009065/0.459, allocations: 0.7272 MB / 0.4884 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.4591, allocations: 112.7 kB / 0.4885 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.4591, allocations: 11.91 kB / 0.4886 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.4593, allocations: 8.156 kB / 0.4886 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.4594, allocations: 27.97 kB / 0.4886 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.4594, allocations: 19.98 kB / 0.4886 GB, free: 4.176 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002193/0.4597, allocations: 221.9 kB / 0.4888 GB, free: 3.957 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.4597, allocations: 0 / 0.4888 GB, free: 3.957 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005141/0.4648, allocations: 0.7301 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.02583/0.4907, allocations: 6.393 MB / 0.4958 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.4918, allocations: 494.4 kB / 0.4962 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4918, allocations: 3.938 kB / 0.4963 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.4922, allocations: 224.2 kB / 0.4965 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.4933, allocations: 189.3 kB / 0.4966 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.4949, allocations: 0.9175 MB / 0.4975 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.4952, allocations: 0.8012 MB / 0.4983 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.4953, allocations: 47.42 kB / 0.4984 GB, free: 10.09 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4953, allocations: 4 kB / 0.4984 GB, free: 10.09 MB / 430.1 MB Notification: Performance of Templates: time 0.03789/0.5332, allocations: 29.23 MB / 0.5269 GB, free: 12.84 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