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.001224/0.001224, allocations: 105.6 kB / 17.58 MB, free: 5.422 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.001372/0.001372, allocations: 191.9 kB / 18.5 MB, free: 4.516 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.283/1.283, allocations: 205.1 MB / 224.4 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.001268/0.001268, allocations: 59.92 kB / 280.6 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08385/0.08513, allocations: 46.62 MB / 327.3 MB, free: 4.492 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03016/0.1153, allocations: 26.6 MB / 353.9 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02353/0.1389, allocations: 24.87 MB / 378.7 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003685/0.1393, allocations: 8 kB / 378.7 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008376/0.1402, allocations: 282.4 kB / 379 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007716/0.141, allocations: 377.8 kB / 379.4 MB, free: 180 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1804/0.3214, allocations: 3.999 MB / 383.4 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.3229, allocations: 0.9491 MB / 384.3 MB, free: 9.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.3232, allocations: 105.6 kB / 384.4 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006173/0.3238, allocations: 388.7 kB / 384.8 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000448/0.3243, allocations: 301.6 kB / 385.1 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.4e-05/0.3243, allocations: 36.56 kB / 385.1 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0203/0.3447, allocations: 10.39 MB / 395.5 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000256/0.345, allocations: 108.1 kB / 395.6 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004579/0.3454, allocations: 228.4 kB / 395.9 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02901/0.3744, allocations: 11.48 MB / 407.3 MB, free: 4.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.3745, allocations: 1.719 kB / 407.3 MB, free: 4.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3745, allocations: 2.906 kB / 407.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.3745, allocations: 0 / 407.4 MB, free: 4.32 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.007149/0.3817, allocations: 1.134 MB / 408.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3817, allocations: 12.03 kB / 408.5 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005691/0.3823, allocations: 71.22 kB / 408.6 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.3827, allocations: 316.1 kB / 408.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.3827, allocations: 27.28 kB / 408.9 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.3828, allocations: 29.69 kB / 408.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/0.3836, allocations: 469 kB / 409.4 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.3836, allocations: 0 / 409.4 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.3837, allocations: 20.5 kB / 409.4 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.3837, allocations: 9.719 kB / 409.4 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006396/0.3843, allocations: 386.8 kB / 409.8 MB, free: 2.18 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.003037/0.3874, allocations: 2.956 MB / 412.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006256/0.388, allocations: 291.2 kB / 413 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.3882, allocations: 135.2 kB / 413.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002398/0.3906, allocations: 2.475 MB / 415.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.3907, allocations: 41.06 kB / 415.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.3907, allocations: 0 / 415.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.005191/0.3959, allocations: 1.282 MB / 417 MB, free: 11.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.3959, allocations: 51.41 kB / 417 MB, free: 10.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.3963, allocations: 261.2 kB / 417.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.3963, allocations: 36.45 kB / 417.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.3965, allocations: 194.8 kB / 417.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.3967, allocations: 120.3 kB / 417.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.3968, allocations: 80.62 kB / 417.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.397, allocations: 338.9 kB / 418 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.3972, allocations: 117 kB / 418.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.3975, allocations: 227.9 kB / 418.4 MB, free: 9.801 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/0.3981, allocations: 370.3 kB / 418.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3981, allocations: 1.312 kB / 418.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008104/0.3989, allocations: 466.5 kB / 419.2 MB, free: 9.215 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.399, allocations: 9.312 kB / 419.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.399, allocations: 7.984 kB / 419.2 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004501/0.4035, allocations: 242 kB / 419.4 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.4038, allocations: 86.36 kB / 419.5 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.4053, allocations: 1.947 MB / 421.5 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.4055, allocations: 9.406 kB / 421.5 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.4055, allocations: 19.56 kB / 421.5 MB, free: 6.887 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.000168/0.4057, allocations: 166.1 kB / 421.7 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.307e-05/0.4058, allocations: 31.66 kB / 421.7 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009357/0.4067, allocations: 0.6865 MB / 422.4 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.4068, allocations: 13.36 kB / 422.4 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.4068, allocations: 0 / 422.4 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007418/0.4075, allocations: 0.8601 MB / 423.2 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.4089, allocations: 1.197 MB / 424.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4089, allocations: 1.719 kB / 424.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.4091, allocations: 64.31 kB / 424.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001485/0.4106, allocations: 171.8 kB / 424.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.4107, allocations: 11.5 kB / 424.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000308/0.411, allocations: 0.5776 MB / 425.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.411, allocations: 3.938 kB / 425.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008639/0.4119, allocations: 0.7382 MB / 426 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.4e-05/0.412, allocations: 105.5 kB / 426.1 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.412, allocations: 18.81 kB / 426.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.4122, allocations: 4.594 kB / 426.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.4123, allocations: 28.69 kB / 426.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.4123, allocations: 11.98 kB / 426.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002136/0.4125, allocations: 226.7 kB / 426.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4125, allocations: 0 / 426.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.005146/0.4177, allocations: 0.7348 MB / 427.1 MB, free: 2.098 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.03528/0.453, allocations: 6.399 MB / 433.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.4542, allocations: 497.8 kB / 434 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4542, allocations: 0.875 kB / 434 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004244/0.4546, allocations: 227.9 kB / 434.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.4558, allocations: 196.5 kB / 434.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.4575, allocations: 0.8883 MB / 435.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.4578, allocations: 0.8089 MB / 436.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004217/0.4583, allocations: 194.3 kB / 436.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.853e-05/0.4584, allocations: 39.44 kB / 436.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4584, allocations: 0 / 436.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of Templates: time 0.04354/0.5019, allocations: 28.96 MB / 465.3 MB, free: 12.12 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/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