Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001297/0.001297, allocations: 115.7 kB / 16.63 MB, free: 6.797 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.001504/0.001504, allocations: 186 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 42.84 kB / 300.1 MB, free: 6.242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1062, allocations: 49.44 MB / 349.6 MB, free: 4.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1761/0.2823, allocations: 26.39 MB / 376 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02078/0.3031, allocations: 24.75 MB / 400.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003262/0.3034, allocations: 8.312 kB / 400.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007733/0.3042, allocations: 261.3 kB / 401 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007183/0.305, allocations: 347.1 kB / 401.3 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01062/0.3156, allocations: 3.536 MB / 404.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.3168, allocations: 0.9476 MB / 405.8 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.317, allocations: 118.4 kB / 405.9 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005245/0.3175, allocations: 386.1 kB / 406.3 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003318/0.3179, allocations: 313 kB / 406.6 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.809e-05/0.3179, allocations: 37.12 kB / 406.6 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03753/0.3555, allocations: 30.09 MB / 436.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.3557, allocations: 101.4 kB / 436.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004015/0.3561, allocations: 231.1 kB / 437 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04431/0.4005, allocations: 20.17 MB / 457.2 MB, free: 8.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4005, allocations: 3.938 kB / 457.2 MB, free: 8.875 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4005, allocations: 1.719 kB / 457.2 MB, free: 8.875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.4005, allocations: 0 / 457.2 MB, free: 8.875 MB / 366.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.005892/0.4064, allocations: 1.136 MB / 458.3 MB, free: 7.691 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.4065, allocations: 8.031 kB / 458.4 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005264/0.407, allocations: 71.53 kB / 458.4 MB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.4074, allocations: 318.3 kB / 458.7 MB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.4074, allocations: 22.38 kB / 458.8 MB, free: 7.242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.139e-05/0.4075, allocations: 32 kB / 458.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008774/0.4084, allocations: 472 kB / 459.2 MB, free: 6.715 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.4084, allocations: 0 / 459.2 MB, free: 6.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/0.4084, allocations: 12 kB / 459.3 MB, free: 6.703 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.4085, allocations: 11.94 kB / 459.3 MB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007359/0.4092, allocations: 391.9 kB / 459.7 MB, free: 6.312 MB / 366.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.003229/0.4124, allocations: 2.95 MB / 462.6 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006405/0.4131, allocations: 294 kB / 462.9 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.4133, allocations: 138 kB / 463 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002362/0.4157, allocations: 2.466 MB / 465.5 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.4157, allocations: 42.56 kB / 465.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.844e-06/0.4157, allocations: 0 / 465.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005312/0.421, allocations: 1.294 MB / 466.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.4211, allocations: 51.41 kB / 466.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.4214, allocations: 266.4 kB / 467.1 MB, free: 13.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.4214, allocations: 33.7 kB / 467.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.4215, allocations: 188.1 kB / 467.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.077e-05/0.4216, allocations: 126.2 kB / 467.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.4217, allocations: 82.03 kB / 467.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.4219, allocations: 342.8 kB / 467.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.4221, allocations: 116.8 kB / 468 MB, free: 13.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.4223, allocations: 230 kB / 468.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.4228, allocations: 366 kB / 468.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4228, allocations: 4 kB / 468.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000793/0.4236, allocations: 454.6 kB / 469 MB, free: 11.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.4237, allocations: 8.438 kB / 469 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.4237, allocations: 9.25 kB / 469.1 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005165/0.4288, allocations: 237.4 kB / 469.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.4292, allocations: 83.89 kB / 469.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.4307, allocations: 1.948 MB / 471.3 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.4309, allocations: 23.92 kB / 471.3 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.431, allocations: 20 kB / 471.4 MB, free: 9.465 MB / 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.000198/0.4312, allocations: 169.8 kB / 471.5 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.186e-05/0.4313, allocations: 31.62 kB / 471.6 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.4323, allocations: 0.6853 MB / 472.2 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.4324, allocations: 11.98 kB / 472.3 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4324, allocations: 0 / 472.3 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008306/0.4332, allocations: 0.8709 MB / 473.1 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.4347, allocations: 1.183 MB / 474.3 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4347, allocations: 0 / 474.3 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.435, allocations: 63.95 kB / 474.4 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001695/0.4367, allocations: 184.4 kB / 474.5 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.4367, allocations: 8.875 kB / 474.6 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000346/0.4371, allocations: 0.5718 MB / 475.1 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4371, allocations: 0 / 475.1 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009272/0.438, allocations: 0.7334 MB / 475.9 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.282e-05/0.4382, allocations: 112.7 kB / 476 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.358e-05/0.4382, allocations: 11.91 kB / 476 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.4385, allocations: 24.16 kB / 476 MB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.4385, allocations: 27.95 kB / 476 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.4385, allocations: 12 kB / 476 MB, free: 4.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002192/0.4388, allocations: 217.9 kB / 476.3 MB, free: 4.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4388, allocations: 4 kB / 476.3 MB, free: 4.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004156/0.4429, allocations: 0.7379 MB / 477 MB, free: 3.582 MB / 382.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.03523/0.4782, allocations: 6.406 MB / 483.4 MB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.4795, allocations: 0.498 MB / 483.9 MB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.4795, allocations: 0 / 483.9 MB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004077/0.4799, allocations: 221.5 kB / 484.1 MB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.4811, allocations: 196.1 kB / 484.3 MB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.4827, allocations: 1.043 MB / 485.4 MB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.4831, allocations: 0.8129 MB / 486.2 MB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004057/0.4835, allocations: 190.9 kB / 486.4 MB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.159e-05/0.4836, allocations: 39.42 kB / 486.4 MB, free: 10.12 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4836, allocations: 7.938 kB / 486.4 MB, free: 10.11 MB / 398.1 MB Notification: Performance of Templates: time 0.04129/0.5249, allocations: 28.93 MB / 0.5033 GB, free: 13.21 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches