Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001701/0.001701, allocations: 103.6 kB / 18.39 MB, free: 4.641 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.001898/0.001898, allocations: 187 kB / 19.33 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 51.88 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09421/0.09561, allocations: 46.62 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2212/0.3168, allocations: 26.61 MB / 402.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02752/0.3444, allocations: 24.86 MB / 427.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006242/0.3451, allocations: 5.312 kB / 427.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.3462, allocations: 290.1 kB / 427.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.3473, allocations: 371.5 kB / 427.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01361/0.3609, allocations: 4.006 MB / 432 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001626/0.3625, allocations: 0.9467 MB / 432.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/0.3628, allocations: 108 kB / 433 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007869/0.3636, allocations: 388.6 kB / 433.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005516/0.3642, allocations: 310.8 kB / 433.7 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.33e-05/0.3642, allocations: 35.75 kB / 433.7 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02275/0.387, allocations: 10.43 MB / 444.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002471/0.3873, allocations: 103.7 kB / 444.3 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004966/0.3878, allocations: 231.1 kB / 444.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03709/0.4249, allocations: 11.48 MB / 456 MB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.4249, allocations: 0 / 456 MB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.425, allocations: 0 / 456 MB, free: 15.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.425, allocations: 0 / 456 MB, free: 15.36 MB / 382.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.006404/0.4314, allocations: 1.139 MB / 457.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.4315, allocations: 12.02 kB / 457.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005822/0.432, allocations: 71.44 kB / 457.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005126/0.4326, allocations: 322.2 kB / 457.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.4326, allocations: 28.66 kB / 457.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.488e-05/0.4327, allocations: 35.94 kB / 457.6 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000929/0.4336, allocations: 463.7 kB / 458 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.4336, allocations: 4 kB / 458 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.386e-05/0.4337, allocations: 12 kB / 458 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.4337, allocations: 12 kB / 458 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007362/0.4345, allocations: 386.3 kB / 458.4 MB, free: 12.77 MB / 382.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.003287/0.4378, allocations: 2.946 MB / 461.4 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006786/0.4384, allocations: 294.7 kB / 461.6 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.4387, allocations: 136.8 kB / 461.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002367/0.441, allocations: 2.47 MB / 464.2 MB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.4411, allocations: 38.55 kB / 464.3 MB, free: 6.145 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.344e-06/0.4411, allocations: 0 / 464.3 MB, free: 6.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005266/0.4464, allocations: 1.283 MB / 465.6 MB, free: 4.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.4464, allocations: 59.41 kB / 465.6 MB, free: 4.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.4467, allocations: 262.5 kB / 465.9 MB, free: 4.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.4468, allocations: 33.7 kB / 465.9 MB, free: 4.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.4469, allocations: 192 kB / 466.1 MB, free: 4.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.964e-05/0.447, allocations: 122.2 kB / 466.2 MB, free: 4.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.4471, allocations: 82.12 kB / 466.3 MB, free: 4.016 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4473, allocations: 334.8 kB / 466.6 MB, free: 3.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.4475, allocations: 116.8 kB / 466.7 MB, free: 3.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.4477, allocations: 230.7 kB / 467 MB, free: 3.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/0.4482, allocations: 377.5 kB / 467.3 MB, free: 2.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4482, allocations: 0 / 467.3 MB, free: 2.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000806/0.4491, allocations: 454.6 kB / 467.8 MB, free: 2.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.4491, allocations: 11.94 kB / 467.8 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.4491, allocations: 4 kB / 467.8 MB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004714/0.4538, allocations: 241.8 kB / 468 MB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.4543, allocations: 83.91 kB / 468.1 MB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/0.456, allocations: 1.95 MB / 470.1 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.4564, allocations: 12 kB / 470.1 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/0.4564, allocations: 20 kB / 470.1 MB, free: 15.93 MB / 398.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.0002535/0.4567, allocations: 165.8 kB / 470.3 MB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.4568, allocations: 31.62 kB / 470.3 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.4578, allocations: 0.6906 MB / 471 MB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.4579, allocations: 7.984 kB / 471 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.4579, allocations: 4 kB / 471 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007842/0.4587, allocations: 0.8485 MB / 471.8 MB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.4601, allocations: 1.198 MB / 473 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.4601, allocations: 0 / 473 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.4604, allocations: 63.91 kB / 473.1 MB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001535/0.462, allocations: 176.6 kB / 473.3 MB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.462, allocations: 8 kB / 473.3 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003659/0.4624, allocations: 0.5757 MB / 473.9 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4624, allocations: 3.984 kB / 473.9 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009714/0.4634, allocations: 0.742 MB / 474.6 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.4635, allocations: 108.7 kB / 474.7 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.757e-05/0.4636, allocations: 15.84 kB / 474.7 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.4638, allocations: 4 kB / 474.7 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.4638, allocations: 27.91 kB / 474.8 MB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.4639, allocations: 15.98 kB / 474.8 MB, free: 11.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002423/0.4641, allocations: 218 kB / 475 MB, free: 10.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4641, allocations: 0 / 475 MB, free: 10.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004566/0.4687, allocations: 0.7418 MB / 475.7 MB, free: 10.06 MB / 398.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.02444/0.4931, allocations: 6.401 MB / 482.1 MB, free: 3.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.4943, allocations: 481.3 kB / 482.6 MB, free: 3.168 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.4943, allocations: 0.875 kB / 482.6 MB, free: 3.168 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.4947, allocations: 216.3 kB / 482.8 MB, free: 2.953 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.4958, allocations: 188.2 kB / 483 MB, free: 2.773 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.4974, allocations: 0.9227 MB / 483.9 MB, free: 1.816 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.4978, allocations: 0.8129 MB / 484.7 MB, free: 0.9805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.4979, allocations: 43.42 kB / 484.8 MB, free: 0.9414 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4979, allocations: 0 / 484.8 MB, free: 0.9414 MB / 398.1 MB Notification: Performance of Templates: time 0.0359/0.5338, allocations: 29.23 MB / 0.502 GB, free: 3.656 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches