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.001521/0.001521, allocations: 108.9 kB / 17.06 MB, free: 6.02 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.001711/0.001711, allocations: 191 kB / 18 MB, free: 5.102 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.343/1.343, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009511/0.0009512, allocations: 55.91 kB / 351.3 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2357, allocations: 49.43 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02535/0.2611, allocations: 26.59 MB / 427.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02406/0.2852, allocations: 24.86 MB / 452.2 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003534/0.2856, allocations: 8 kB / 452.2 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007962/0.2864, allocations: 298.3 kB / 452.5 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006883/0.2872, allocations: 361.9 kB / 452.8 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009873/0.297, allocations: 4.012 MB / 456.8 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.2981, allocations: 0.9425 MB / 457.8 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.2983, allocations: 109 kB / 457.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005136/0.2989, allocations: 394.6 kB / 458.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003382/0.2992, allocations: 302.8 kB / 458.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.2993, allocations: 36 kB / 458.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01851/0.3178, allocations: 10.42 MB / 469 MB, free: 4.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.318, allocations: 115.6 kB / 469.1 MB, free: 4.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003389/0.3184, allocations: 219.2 kB / 469.4 MB, free: 4.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0299/0.3483, allocations: 11.49 MB / 480.8 MB, free: 8.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3483, allocations: 0 / 480.8 MB, free: 8.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3483, allocations: 4 kB / 480.9 MB, free: 8.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.3484, allocations: 0 / 480.9 MB, free: 8.551 MB / 398.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.006005/0.3544, allocations: 1.184 MB / 482 MB, free: 7.309 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3544, allocations: 8.031 kB / 482 MB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005234/0.3549, allocations: 67.73 kB / 482.1 MB, free: 7.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.3554, allocations: 331 kB / 482.4 MB, free: 6.871 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.3554, allocations: 24.66 kB / 482.5 MB, free: 6.848 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.662e-05/0.3555, allocations: 32 kB / 482.5 MB, free: 6.816 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008231/0.3563, allocations: 459.7 kB / 482.9 MB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.3564, allocations: 11.94 kB / 482.9 MB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.3564, allocations: 16 kB / 483 MB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.3564, allocations: 8 kB / 483 MB, free: 6.297 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007064/0.3571, allocations: 390.2 kB / 483.4 MB, free: 5.914 MB / 398.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.002939/0.3601, allocations: 2.949 MB / 486.3 MB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006061/0.3607, allocations: 286.8 kB / 486.6 MB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.3609, allocations: 128.8 kB / 486.7 MB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002144/0.3631, allocations: 2.47 MB / 489.2 MB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.3631, allocations: 42.5 kB / 489.2 MB, free: 15.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.3631, allocations: 0 / 489.2 MB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.004979/0.3681, allocations: 1.302 MB / 490.5 MB, free: 13.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.3682, allocations: 67.33 kB / 490.6 MB, free: 13.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.3684, allocations: 258.6 kB / 490.8 MB, free: 13.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.3684, allocations: 29.7 kB / 490.9 MB, free: 13.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.3686, allocations: 192.4 kB / 491.1 MB, free: 13.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.36e-05/0.3686, allocations: 130.9 kB / 491.2 MB, free: 13.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.3688, allocations: 78.12 kB / 491.3 MB, free: 13.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.3689, allocations: 338.8 kB / 491.6 MB, free: 12.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.3691, allocations: 112.8 kB / 491.7 MB, free: 12.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.3694, allocations: 230 kB / 491.9 MB, free: 12.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/0.3699, allocations: 369.5 kB / 492.3 MB, free: 12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.3699, allocations: 4 kB / 492.3 MB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007897/0.3707, allocations: 474.6 kB / 492.8 MB, free: 11.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3707, allocations: 4 kB / 492.8 MB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3707, allocations: 7.938 kB / 492.8 MB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00467/0.3754, allocations: 237.9 kB / 493 MB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.3757, allocations: 91.83 kB / 493.1 MB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.3771, allocations: 1.935 MB / 495 MB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.3773, allocations: 8 kB / 495 MB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.3773, allocations: 20 kB / 495.1 MB, free: 9.051 MB / 414.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.0001912/0.3775, allocations: 173.8 kB / 495.2 MB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/0.3776, allocations: 35.75 kB / 495.3 MB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.3786, allocations: 0.6852 MB / 495.9 MB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.3787, allocations: 4 kB / 495.9 MB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.3787, allocations: 0 / 495.9 MB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008383/0.3795, allocations: 0.8641 MB / 496.8 MB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.3809, allocations: 1.195 MB / 498 MB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.381, allocations: 0 / 498 MB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.3812, allocations: 63.91 kB / 498.1 MB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.3827, allocations: 180.5 kB / 498.2 MB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.3827, allocations: 19.98 kB / 498.3 MB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003153/0.383, allocations: 0.568 MB / 498.8 MB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3831, allocations: 3.938 kB / 498.8 MB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009078/0.384, allocations: 0.7353 MB / 499.6 MB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.3841, allocations: 104.9 kB / 499.7 MB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/0.3841, allocations: 19.89 kB / 499.7 MB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.3843, allocations: 8 kB / 499.7 MB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.3844, allocations: 27.89 kB / 499.7 MB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.3844, allocations: 12 kB / 499.7 MB, free: 4.129 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002206/0.3846, allocations: 221.9 kB / 500 MB, free: 3.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3846, allocations: 0 / 500 MB, free: 3.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003783/0.3884, allocations: 0.7481 MB / 0.489 GB, free: 3.16 MB / 414.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.02249/0.4109, allocations: 6.411 MB / 0.4952 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.4122, allocations: 482.4 kB / 0.4957 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.4122, allocations: 4.875 kB / 0.4957 GB, free: 12.24 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003957/0.4126, allocations: 216.2 kB / 0.4959 GB, free: 12.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.4137, allocations: 198.8 kB / 0.4961 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.4152, allocations: 0.8947 MB / 0.497 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.4155, allocations: 0.809 MB / 0.4978 GB, free: 10.08 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003527/0.4158, allocations: 195.5 kB / 0.4979 GB, free: 9.887 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.397e-05/0.4159, allocations: 39.44 kB / 0.498 GB, free: 9.852 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4159, allocations: 0 / 0.498 GB, free: 9.852 MB / 430.1 MB Notification: Performance of Templates: time 0.03658/0.4525, allocations: 29.03 MB / 0.5263 GB, free: 12.85 MB / 462.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