Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001031/0.001031, allocations: 192 kB / 18.51 MB, free: 4.508 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.327/1.327, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.00126/0.00126, allocations: 55.91 kB / 280.6 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08534/0.08661, allocations: 46.63 MB / 327.3 MB, free: 4.488 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03489/0.1215, allocations: 37.65 MB / 364.9 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.188/0.3096, allocations: 30.6 MB / 395.5 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007416/0.3104, allocations: 10.22 kB / 395.5 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.3116, allocations: 408.3 kB / 395.9 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.3127, allocations: 0.5106 MB / 396.4 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01495/0.3276, allocations: 5.122 MB / 401.6 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00167/0.3293, allocations: 1.364 MB / 402.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.3296, allocations: 165.1 kB / 403.1 MB, free: 8.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007699/0.3304, allocations: 0.5335 MB / 403.6 MB, free: 8.266 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004919/0.3309, allocations: 445.5 kB / 404.1 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.798e-05/0.331, allocations: 55.34 kB / 404.1 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02228/0.3533, allocations: 12.78 MB / 416.9 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002974/0.3536, allocations: 142 kB / 417 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004609/0.3541, allocations: 330.2 kB / 417.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04005/0.3941, allocations: 14.91 MB / 432.3 MB, free: 6.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.3942, allocations: 7.875 kB / 432.3 MB, free: 6.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3942, allocations: 0 / 432.3 MB, free: 6.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.3942, allocations: 0 / 432.3 MB, free: 6.281 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.007725/0.402, allocations: 1.425 MB / 433.7 MB, free: 4.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.402, allocations: 13.61 kB / 433.7 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007094/0.4027, allocations: 91.3 kB / 433.8 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.4032, allocations: 389.9 kB / 434.2 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.4032, allocations: 37 kB / 434.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-05/0.4033, allocations: 41.72 kB / 434.3 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.4044, allocations: 0.62 MB / 434.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.4044, allocations: 0 / 434.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.874e-05/0.4045, allocations: 24 kB / 434.9 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.4045, allocations: 13.72 kB / 434.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009411/0.4055, allocations: 0.5268 MB / 435.4 MB, free: 3.004 MB / 334.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.003915/0.4094, allocations: 3.812 MB / 439.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000887/0.4103, allocations: 417.6 kB / 439.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/0.4106, allocations: 205.3 kB / 439.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003034/0.4136, allocations: 3.463 MB / 443.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.4137, allocations: 40.66 kB / 443.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.014e-06/0.4137, allocations: 0 / 443.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.009155/0.4228, allocations: 2.027 MB / 445.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.4229, allocations: 55.84 kB / 445.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.4232, allocations: 312.4 kB / 445.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.4233, allocations: 35.42 kB / 445.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.4234, allocations: 232.6 kB / 446 MB, free: 7.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.4236, allocations: 194.7 kB / 446.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.4238, allocations: 120 kB / 446.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4239, allocations: 346.8 kB / 446.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.4242, allocations: 181.2 kB / 446.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.4246, allocations: 334.9 kB / 447.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000744/0.4254, allocations: 0.546 MB / 447.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4254, allocations: 1.719 kB / 447.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001222/0.4266, allocations: 0.6621 MB / 448.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.4267, allocations: 12.66 kB / 448.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.4267, allocations: 11.92 kB / 448.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01453/0.4412, allocations: 455.8 kB / 448.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.4423, allocations: 139.8 kB / 449 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003247/0.4456, allocations: 3.081 MB / 452.1 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/0.4462, allocations: 23.94 kB / 452.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.4463, allocations: 31.92 kB / 452.1 MB, free: 0.9336 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004709/0.4468, allocations: 189.8 kB / 452.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/0.4471, allocations: 43.53 kB / 452.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/0.4496, allocations: 1.048 MB / 453.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.4497, allocations: 11.98 kB / 453.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.4497, allocations: 0 / 453.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00184/0.4515, allocations: 1.091 MB / 454.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003579/0.4551, allocations: 1.737 MB / 456.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.4552, allocations: 0 / 456.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/0.4558, allocations: 99.83 kB / 456.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004487/0.4603, allocations: 352.9 kB / 456.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.182e-05/0.4604, allocations: 19.98 kB / 456.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.4615, allocations: 1.155 MB / 457.8 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4615, allocations: 0 / 457.8 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/0.4638, allocations: 1.124 MB / 459 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.464, allocations: 116.5 kB / 459.1 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.4642, allocations: 19.84 kB / 459.1 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.4646, allocations: 15.94 kB / 459.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.4647, allocations: 40.48 kB / 459.2 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.729e-05/0.4648, allocations: 23.98 kB / 459.2 MB, free: 9.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004084/0.4652, allocations: 247 kB / 459.4 MB, free: 9.383 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.4652, allocations: 4 kB / 459.4 MB, free: 9.379 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.007861/0.4731, allocations: 0.9527 MB / 460.4 MB, free: 8.426 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0483/0.5214, allocations: 7.866 MB / 468.2 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001894/0.5233, allocations: 0.7406 MB / 469 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.5234, allocations: 11.98 kB / 469 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005851/0.524, allocations: 371.4 kB / 469.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.5254, allocations: 257.1 kB / 469.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.5275, allocations: 1.332 MB / 470.9 MB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.5279, allocations: 0.8685 MB / 471.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004894/0.5284, allocations: 240 kB / 472 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.5285, allocations: 51.42 kB / 472.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5285, allocations: 0 / 472.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of Templates: time 0.05168/0.5802, allocations: 36.03 MB / 0.4962 GB, free: 8.742 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches