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.001121/0.001121, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.0009938/0.0009938, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.279/1.279, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001849/0.001849, allocations: 47.92 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.086/0.08787, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03383/0.1217, allocations: 37.65 MB / 366.4 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1678/0.2895, allocations: 30.6 MB / 397 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005365/0.2901, allocations: 8.906 kB / 397 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.2913, allocations: 399.7 kB / 397.4 MB, free: 9.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.2925, allocations: 0.5171 MB / 397.9 MB, free: 9.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01324/0.3058, allocations: 5.128 MB / 403 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.3074, allocations: 1.359 MB / 404.4 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/0.3076, allocations: 167.6 kB / 404.5 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006193/0.3083, allocations: 0.5383 MB / 405.1 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004119/0.3087, allocations: 442.5 kB / 405.5 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.653e-05/0.3088, allocations: 53.06 kB / 405.6 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01943/0.3282, allocations: 12.8 MB / 418.4 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.3285, allocations: 154.1 kB / 418.5 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000456/0.3289, allocations: 317.7 kB / 418.8 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0306/0.3595, allocations: 14.91 MB / 433.7 MB, free: 6.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3596, allocations: 0.8125 kB / 433.7 MB, free: 6.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3596, allocations: 0 / 433.7 MB, free: 6.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.3596, allocations: 4 kB / 433.7 MB, free: 6.297 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.007262/0.3669, allocations: 1.413 MB / 435.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.3669, allocations: 16.67 kB / 435.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007747/0.3677, allocations: 96.98 kB / 435.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005473/0.3683, allocations: 399 kB / 435.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.3683, allocations: 33.81 kB / 435.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.95e-05/0.3684, allocations: 48 kB / 435.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.3695, allocations: 0.6166 MB / 436.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/0.3695, allocations: 4.75 kB / 436.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.3696, allocations: 24 kB / 436.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.3696, allocations: 12.78 kB / 436.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.3706, allocations: 0.5237 MB / 436.9 MB, free: 3.016 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.004417/0.3751, allocations: 3.809 MB / 440.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008869/0.376, allocations: 414.6 kB / 441.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003006/0.3763, allocations: 213.3 kB / 441.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003548/0.3798, allocations: 3.453 MB / 444.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.3799, allocations: 43.69 kB / 444.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.094e-06/0.3799, allocations: 0.7812 kB / 444.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.009306/0.3892, allocations: 2.026 MB / 446.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.3892, allocations: 57.16 kB / 446.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.3896, allocations: 308.4 kB / 447.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.3896, allocations: 37.7 kB / 447.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.3898, allocations: 232.4 kB / 447.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.3899, allocations: 192.3 kB / 447.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.39, allocations: 119.6 kB / 447.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3902, allocations: 346.8 kB / 448.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.3905, allocations: 181.2 kB / 448.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.3909, allocations: 335.1 kB / 448.6 MB, free: 6.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007458/0.3916, allocations: 0.5536 MB / 449.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3916, allocations: 0 / 449.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001218/0.3929, allocations: 0.6668 MB / 449.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3929, allocations: 4 kB / 449.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.3929, allocations: 7.938 kB / 449.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009591/0.4025, allocations: 453.4 kB / 450.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/0.4031, allocations: 139.8 kB / 450.4 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.405, allocations: 3.087 MB / 453.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.4053, allocations: 23.94 kB / 453.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/0.4054, allocations: 27.98 kB / 453.6 MB, free: 0.9531 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.0002391/0.4057, allocations: 186.3 kB / 453.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.4058, allocations: 43.53 kB / 453.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.4073, allocations: 1.052 MB / 454.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.4073, allocations: 11.98 kB / 454.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.4073, allocations: 0 / 454.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/0.4085, allocations: 1.095 MB / 456 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.4106, allocations: 1.734 MB / 457.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.4106, allocations: 0 / 457.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000391/0.411, allocations: 99.89 kB / 457.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003112/0.4141, allocations: 349 kB / 458.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.4142, allocations: 19.98 kB / 458.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006741/0.4149, allocations: 1.149 MB / 459.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4149, allocations: 0 / 459.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.4163, allocations: 1.124 MB / 460.4 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.4164, allocations: 120.5 kB / 460.5 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.8e-05/0.4165, allocations: 19.84 kB / 460.6 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.4168, allocations: 15.94 kB / 460.6 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.4168, allocations: 36.55 kB / 460.6 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.4169, allocations: 24.09 kB / 460.6 MB, free: 9.652 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002515/0.4171, allocations: 251 kB / 460.9 MB, free: 9.406 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4171, allocations: 7.938 kB / 460.9 MB, free: 9.398 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004644/0.4218, allocations: 0.9488 MB / 461.8 MB, free: 8.449 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.02821/0.45, allocations: 7.862 MB / 469.7 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001616/0.4516, allocations: 0.7206 MB / 470.4 MB, free: 8 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4517, allocations: 0 / 470.4 MB, free: 8 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006257/0.4523, allocations: 371.5 kB / 470.8 MB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.4536, allocations: 264.9 kB / 471 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.4557, allocations: 1.318 MB / 472.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.4562, allocations: 0.8685 MB / 473.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004605/0.4566, allocations: 244 kB / 473.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.4567, allocations: 51.44 kB / 473.5 MB, free: 12.87 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4567, allocations: 0 / 473.5 MB, free: 12.87 MB / 382.1 MB Notification: Performance of Templates: time 0.04726/0.504, allocations: 36.02 MB / 0.4976 GB, free: 8.812 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/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