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.001152/0.001152, allocations: 105.4 kB / 18.4 MB, free: 4.703 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.001166/0.001166, allocations: 191 kB / 19.33 MB, free: 3.781 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.406/1.406, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001175/0.001175, allocations: 51.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08916/0.09034, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2203/0.3107, allocations: 26.6 MB / 402.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02854/0.3393, allocations: 24.86 MB / 427.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005604/0.3399, allocations: 9.781 kB / 427.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.341, allocations: 293.9 kB / 427.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.3422, allocations: 366.8 kB / 427.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01388/0.3561, allocations: 4.011 MB / 432 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001736/0.3578, allocations: 0.9474 MB / 432.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003005/0.3582, allocations: 107.3 kB / 433 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000966/0.3591, allocations: 388.8 kB / 433.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006576/0.3598, allocations: 306.1 kB / 433.7 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.3599, allocations: 36.41 kB / 433.7 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02473/0.3847, allocations: 10.42 MB / 444.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002767/0.385, allocations: 103.7 kB / 444.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004911/0.3855, allocations: 231.1 kB / 444.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03833/0.4238, allocations: 11.48 MB / 455.9 MB, free: 15.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.4239, allocations: 7.938 kB / 456 MB, free: 15.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.569e-06/0.4239, allocations: 4 kB / 456 MB, free: 15.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.4239, allocations: 0 / 456 MB, free: 15.52 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.006975/0.4309, allocations: 1.135 MB / 457.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.431, allocations: 12.02 kB / 457.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006517/0.4316, allocations: 67.5 kB / 457.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007009/0.4324, allocations: 326.3 kB / 457.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.4324, allocations: 24.66 kB / 457.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-05/0.4325, allocations: 28 kB / 457.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.4335, allocations: 467.7 kB / 458 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.4335, allocations: 7.938 kB / 458 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/0.4336, allocations: 12 kB / 458 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.4336, allocations: 11.98 kB / 458 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007636/0.4344, allocations: 386.3 kB / 458.4 MB, free: 12.94 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.003603/0.438, allocations: 2.942 MB / 461.3 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006699/0.4387, allocations: 298.7 kB / 461.6 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.4389, allocations: 136.8 kB / 461.8 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002417/0.4413, allocations: 2.466 MB / 464.2 MB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.4414, allocations: 38.55 kB / 464.3 MB, free: 6.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.154e-06/0.4414, allocations: 0 / 464.3 MB, free: 6.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005073/0.4465, allocations: 1.292 MB / 465.6 MB, free: 4.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.4465, allocations: 55.41 kB / 465.6 MB, free: 4.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.4468, allocations: 258.6 kB / 465.9 MB, free: 4.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.4469, allocations: 29.7 kB / 465.9 MB, free: 4.586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.447, allocations: 188.1 kB / 466.1 MB, free: 4.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.298e-05/0.4471, allocations: 130.1 kB / 466.2 MB, free: 4.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.4473, allocations: 78.12 kB / 466.3 MB, free: 4.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4474, allocations: 342.8 kB / 466.6 MB, free: 3.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.4476, allocations: 112.8 kB / 466.7 MB, free: 3.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.4479, allocations: 234 kB / 467 MB, free: 3.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005358/0.4485, allocations: 369.5 kB / 467.3 MB, free: 3.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4485, allocations: 8 kB / 467.3 MB, free: 3.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009156/0.4494, allocations: 454.5 kB / 467.8 MB, free: 2.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.4494, allocations: 8.375 kB / 467.8 MB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.4495, allocations: 8 kB / 467.8 MB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004247/0.4537, allocations: 237.4 kB / 468 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.4541, allocations: 83.91 kB / 468.1 MB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.4558, allocations: 1.949 MB / 470.1 MB, free: 132 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.456, allocations: 16.22 kB / 470.1 MB, free: 116 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/0.4561, allocations: 20 kB / 470.1 MB, free: 96 kB / 382.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.0003954/0.4565, allocations: 153.9 kB / 470.2 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.4566, allocations: 35.56 kB / 470.3 MB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.4577, allocations: 0.7029 MB / 471 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.4577, allocations: 7.984 kB / 471 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.4577, allocations: 4 kB / 471 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008477/0.4586, allocations: 0.8563 MB / 471.8 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.4602, allocations: 1.187 MB / 473 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/0.4602, allocations: 4 kB / 473 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.4604, allocations: 59.91 kB / 473.1 MB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/0.4619, allocations: 180.6 kB / 473.3 MB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.4619, allocations: 8 kB / 473.3 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003723/0.4623, allocations: 0.5718 MB / 473.9 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4623, allocations: 0 / 473.9 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009903/0.4633, allocations: 0.742 MB / 474.6 MB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.4635, allocations: 108.7 kB / 474.7 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/0.4635, allocations: 11.91 kB / 474.7 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.4637, allocations: 11.94 kB / 474.7 MB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.4638, allocations: 23.91 kB / 474.7 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.4638, allocations: 23.92 kB / 474.8 MB, free: 11.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002472/0.4641, allocations: 218 kB / 475 MB, free: 10.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4641, allocations: 4.062 kB / 475 MB, free: 10.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004841/0.4689, allocations: 0.7379 MB / 475.7 MB, free: 10.22 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.02607/0.495, allocations: 6.398 MB / 482.1 MB, free: 3.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.4963, allocations: 474.3 kB / 482.6 MB, free: 3.336 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4963, allocations: 8 kB / 482.6 MB, free: 3.328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000463/0.4968, allocations: 216.2 kB / 482.8 MB, free: 3.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.4981, allocations: 189.3 kB / 483 MB, free: 2.934 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.4999, allocations: 0.9305 MB / 483.9 MB, free: 1.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.5003, allocations: 0.8012 MB / 484.7 MB, free: 1.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.5005, allocations: 47.42 kB / 484.8 MB, free: 1.102 MB / 398.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5005, allocations: 0 / 484.8 MB, free: 1.102 MB / 398.1 MB Notification: Performance of Templates: time 0.04239/0.5429, allocations: 29.28 MB / 0.502 GB, free: 3.77 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