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.001221/0.001221, allocations: 114.6 kB / 17.28 MB, free: 6.219 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.001347/0.001347, allocations: 189.3 kB / 18.2 MB, free: 5.301 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.29/1.29, allocations: 205.1 MB / 224.1 MB, free: 12.35 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.001179/0.001179, allocations: 51.92 kB / 280.1 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08794/0.08914, allocations: 46.63 MB / 326.8 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02686/0.116, allocations: 26.41 MB / 353.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02557/0.1416, allocations: 24.76 MB / 377.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004406/0.1421, allocations: 4 kB / 377.9 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008355/0.143, allocations: 258.8 kB / 378.2 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007371/0.1438, allocations: 350.2 kB / 378.5 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.198/0.3418, allocations: 3.522 MB / 382.1 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.3432, allocations: 0.9429 MB / 383 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.3434, allocations: 114.1 kB / 383.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007155/0.3442, allocations: 391.2 kB / 383.5 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004268/0.3446, allocations: 311.5 kB / 383.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.369e-05/0.3447, allocations: 37.91 kB / 383.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03952/0.3842, allocations: 30.08 MB / 413.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003209/0.3846, allocations: 110.1 kB / 414 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005606/0.3851, allocations: 222.7 kB / 414.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04822/0.4334, allocations: 20.17 MB / 434.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.447e-06/0.4334, allocations: 0 / 434.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4334, allocations: 1.969 kB / 434.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.732e-05/0.4335, allocations: 1.719 kB / 434.4 MB, free: 9.156 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.008448/0.4419, allocations: 1.143 MB / 435.6 MB, free: 8.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.442, allocations: 9.75 kB / 435.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006785/0.4427, allocations: 66.31 kB / 435.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005356/0.4432, allocations: 319 kB / 436 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.4433, allocations: 32 kB / 436 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.4434, allocations: 32.05 kB / 436 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.4445, allocations: 460.7 kB / 436.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.4445, allocations: 4 kB / 436.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.154e-05/0.4446, allocations: 13.94 kB / 436.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.4446, allocations: 8 kB / 436.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008782/0.4455, allocations: 388.7 kB / 436.9 MB, free: 7.035 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.003642/0.4492, allocations: 2.949 MB / 439.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007033/0.4499, allocations: 286.4 kB / 440.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.4501, allocations: 139.7 kB / 440.2 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002874/0.453, allocations: 2.474 MB / 442.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.4531, allocations: 41.94 kB / 442.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.926e-06/0.4531, allocations: 1.656 kB / 442.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005373/0.4584, allocations: 1.28 MB / 444 MB, free: 15.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.4585, allocations: 55.41 kB / 444.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.4588, allocations: 262.7 kB / 444.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.4589, allocations: 37.31 kB / 444.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.459, allocations: 191.6 kB / 444.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.108e-05/0.4591, allocations: 115.7 kB / 444.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.4592, allocations: 80.56 kB / 444.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4594, allocations: 343 kB / 445.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.4596, allocations: 110.7 kB / 445.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.4599, allocations: 235.9 kB / 445.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.4604, allocations: 380 kB / 445.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4604, allocations: 5.25 kB / 445.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008067/0.4612, allocations: 454.4 kB / 446.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.4612, allocations: 11.12 kB / 446.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.4612, allocations: 5.719 kB / 446.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004704/0.466, allocations: 237.2 kB / 446.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.4663, allocations: 90.92 kB / 446.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.4677, allocations: 1.947 MB / 448.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.468, allocations: 20.95 kB / 448.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/0.4681, allocations: 20.75 kB / 448.6 MB, free: 11.75 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.0002022/0.4683, allocations: 167.3 kB / 448.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.842e-05/0.4684, allocations: 36.42 kB / 448.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.4695, allocations: 0.6915 MB / 449.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.4695, allocations: 16 kB / 449.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.4695, allocations: 3.938 kB / 449.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007625/0.4703, allocations: 0.8583 MB / 450.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.4717, allocations: 1.19 MB / 451.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.4718, allocations: 4 kB / 451.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.472, allocations: 63.77 kB / 451.6 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/0.4737, allocations: 174.4 kB / 451.8 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.4738, allocations: 5.375 kB / 451.8 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003417/0.4741, allocations: 0.5802 MB / 452.4 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4741, allocations: 4.797 kB / 452.4 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009027/0.475, allocations: 0.7296 MB / 453.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.4751, allocations: 108.7 kB / 453.2 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.799e-05/0.4752, allocations: 24.53 kB / 453.2 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.4755, allocations: 23.3 kB / 453.2 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.4755, allocations: 23.16 kB / 453.3 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.4756, allocations: 12.12 kB / 453.3 MB, free: 7.984 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.4758, allocations: 221.4 kB / 453.5 MB, free: 7.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4758, allocations: 0 / 453.5 MB, free: 7.812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004564/0.4804, allocations: 0.7429 MB / 454.2 MB, free: 7.129 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.03513/0.5155, allocations: 6.393 MB / 460.6 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.5168, allocations: 0.5065 MB / 461.1 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.5168, allocations: 0 / 461.1 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004303/0.5173, allocations: 222.4 kB / 461.4 MB, free: 468 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.5185, allocations: 188.8 kB / 461.5 MB, free: 276 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.5203, allocations: 1.042 MB / 462.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.5207, allocations: 0.8086 MB / 463.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004318/0.5212, allocations: 195.6 kB / 463.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.449e-05/0.5213, allocations: 35.42 kB / 463.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5213, allocations: 0 / 463.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of Templates: time 0.06211/0.5834, allocations: 28.94 MB / 492.5 MB, free: 1.281 MB / 398.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches