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.001427/0.001427, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001418/0.001418, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.392/1.392, allocations: 205.1 MB / 225 MB, free: 12.3 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.001225/0.001226, allocations: 55.92 kB / 281.3 MB, free: 3.16 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08315/0.08439, allocations: 46.62 MB / 327.9 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03309/0.1175, allocations: 26.59 MB / 354.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02872/0.1463, allocations: 24.87 MB / 379.4 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000428/0.1468, allocations: 4 kB / 379.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000998/0.1478, allocations: 290.3 kB / 379.7 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.1491, allocations: 373.9 kB / 380.1 MB, free: 168 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1766/0.3257, allocations: 4.007 MB / 384.1 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.3269, allocations: 0.946 MB / 385 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.3272, allocations: 108 kB / 385.1 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007389/0.3279, allocations: 387.2 kB / 385.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004191/0.3284, allocations: 299.6 kB / 385.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.506e-05/0.3285, allocations: 37.91 kB / 385.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02107/0.3495, allocations: 10.39 MB / 396.2 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002765/0.3499, allocations: 108.9 kB / 396.3 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004957/0.3504, allocations: 230 kB / 396.5 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0372/0.3876, allocations: 11.47 MB / 408 MB, free: 4.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.3876, allocations: 0 / 408 MB, free: 4.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3876, allocations: 0 / 408 MB, free: 4.801 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.3877, allocations: 1.344 kB / 408 MB, free: 4.801 MB / 318.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.007819/0.3955, allocations: 1.145 MB / 409.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3955, allocations: 15.97 kB / 409.2 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006465/0.3962, allocations: 63.44 kB / 409.2 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.3966, allocations: 318.8 kB / 409.6 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.3966, allocations: 29.59 kB / 409.6 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.3967, allocations: 28.62 kB / 409.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007792/0.3975, allocations: 473.1 kB / 410.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.3975, allocations: 0 / 410.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/0.3975, allocations: 18.75 kB / 410.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.3975, allocations: 9.344 kB / 410.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006304/0.3982, allocations: 387.3 kB / 410.5 MB, free: 2.648 MB / 318.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.00307/0.4013, allocations: 2.948 MB / 413.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006982/0.402, allocations: 298.1 kB / 413.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.4022, allocations: 132.2 kB / 413.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002483/0.4047, allocations: 2.473 MB / 416.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.4048, allocations: 39.44 kB / 416.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 2.485e-06/0.4048, allocations: 0.8125 kB / 416.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.00536/0.4101, allocations: 1.283 MB / 417.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.4102, allocations: 59.39 kB / 417.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.4105, allocations: 259.6 kB / 418 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.4106, allocations: 37.86 kB / 418 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.4107, allocations: 193.7 kB / 418.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.533e-05/0.4108, allocations: 117.2 kB / 418.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.4109, allocations: 83.25 kB / 418.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.411, allocations: 337.1 kB / 418.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.4112, allocations: 116.2 kB / 418.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.4115, allocations: 225.2 kB / 419 MB, free: 10.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005189/0.412, allocations: 381.8 kB / 419.4 MB, free: 9.992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.412, allocations: 0 / 419.4 MB, free: 9.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008224/0.4129, allocations: 463.7 kB / 419.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4129, allocations: 9.719 kB / 419.9 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4129, allocations: 4 kB / 419.9 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004929/0.4179, allocations: 235 kB / 420.1 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.4183, allocations: 86.3 kB / 420.2 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.4197, allocations: 1.951 MB / 422.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.42, allocations: 10.5 kB / 422.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.4201, allocations: 23.8 kB / 422.2 MB, free: 7.352 MB / 334.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.0002182/0.4203, allocations: 161.2 kB / 422.3 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.153e-05/0.4204, allocations: 31.66 kB / 422.4 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.4215, allocations: 0.6905 MB / 423.1 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.4215, allocations: 9.719 kB / 423.1 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.4215, allocations: 0 / 423.1 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007937/0.4223, allocations: 0.8604 MB / 423.9 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.4238, allocations: 1.197 MB / 425.1 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4238, allocations: 0 / 425.1 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.4241, allocations: 63.53 kB / 425.2 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/0.4258, allocations: 175.9 kB / 425.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.4258, allocations: 11.98 kB / 425.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003659/0.4262, allocations: 0.577 MB / 425.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4262, allocations: 7.875 kB / 425.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.4272, allocations: 0.7377 MB / 426.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.4273, allocations: 106.4 kB / 426.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.533e-05/0.4274, allocations: 11.94 kB / 426.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.4276, allocations: 4 kB / 426.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.4276, allocations: 34.58 kB / 426.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.4277, allocations: 13.72 kB / 426.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002344/0.4279, allocations: 225.9 kB / 427.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4279, allocations: 0 / 427.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.005217/0.4332, allocations: 0.7301 MB / 427.8 MB, free: 2.227 MB / 334.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.0384/0.4716, allocations: 6.393 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.4729, allocations: 0.4947 MB / 434.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.4729, allocations: 0.875 kB / 434.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003987/0.4733, allocations: 218 kB / 434.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.4745, allocations: 196.6 kB / 435.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.4761, allocations: 0.9247 MB / 436 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.4765, allocations: 0.8051 MB / 436.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.4766, allocations: 46.42 kB / 436.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4766, allocations: 0 / 436.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of Templates: time 0.04028/0.5169, allocations: 29.19 MB / 466.1 MB, free: 12.15 MB / 382.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