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.001116/0.001116, allocations: 107.1 kB / 16.92 MB, free: 5.789 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.00105/0.00105, allocations: 191.3 kB / 17.85 MB, free: 5.191 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.311/1.311, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001059, allocations: 43.34 kB / 300.6 MB, free: 5.91 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09034/0.09142, allocations: 49.45 MB / 350 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.181/0.2725, allocations: 26.58 MB / 376.6 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02137/0.2939, allocations: 24.86 MB / 401.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003875/0.2943, allocations: 5.375 kB / 401.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008665/0.2952, allocations: 288.3 kB / 401.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000781/0.2961, allocations: 372.5 kB / 402.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01217/0.3083, allocations: 4.01 MB / 406.1 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.3095, allocations: 0.9462 MB / 407.1 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.3097, allocations: 113.6 kB / 407.2 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005933/0.3103, allocations: 389.4 kB / 407.6 MB, free: 8.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003926/0.3107, allocations: 297.5 kB / 407.9 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.61e-05/0.3108, allocations: 41.06 kB / 407.9 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01949/0.3303, allocations: 10.4 MB / 418.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002316/0.3306, allocations: 111.6 kB / 418.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004033/0.331, allocations: 223.1 kB / 418.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03073/0.3617, allocations: 11.48 MB / 430.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3618, allocations: 5.719 kB / 430.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3618, allocations: 0 / 430.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.3618, allocations: 0 / 430.1 MB, free: 4.105 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.005551/0.3673, allocations: 1.129 MB / 431.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.3674, allocations: 8.031 kB / 431.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000545/0.3679, allocations: 63.59 kB / 431.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.3683, allocations: 325.4 kB / 431.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.3683, allocations: 20.66 kB / 431.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.3684, allocations: 36 kB / 431.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007952/0.3692, allocations: 463 kB / 432.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3692, allocations: 0 / 432.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.678e-05/0.3693, allocations: 16 kB / 432.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.3693, allocations: 15.94 kB / 432.2 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006718/0.37, allocations: 390.3 kB / 432.6 MB, free: 1.551 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.003068/0.373, allocations: 2.955 MB / 435.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006214/0.3737, allocations: 303.1 kB / 435.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.3739, allocations: 137.3 kB / 435.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002183/0.3761, allocations: 2.458 MB / 438.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.3761, allocations: 46.55 kB / 438.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.883e-06/0.3761, allocations: 0 / 438.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005009/0.3811, allocations: 1.289 MB / 439.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.3812, allocations: 55.41 kB / 439.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.3814, allocations: 258.5 kB / 440 MB, free: 9.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.3815, allocations: 33.7 kB / 440.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.3816, allocations: 196 kB / 440.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.448e-05/0.3817, allocations: 118.3 kB / 440.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3818, allocations: 82.03 kB / 440.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3819, allocations: 338.8 kB / 440.8 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.3821, allocations: 112.8 kB / 440.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.3823, allocations: 234 kB / 441.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.3828, allocations: 369.5 kB / 441.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3828, allocations: 0 / 441.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007786/0.3836, allocations: 462.6 kB / 441.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3836, allocations: 14.59 kB / 442 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3836, allocations: 7.875 kB / 442 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004761/0.3884, allocations: 241.8 kB / 442.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.3888, allocations: 95.77 kB / 442.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.3901, allocations: 1.936 MB / 444.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.3903, allocations: 15.98 kB / 444.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.3903, allocations: 16 kB / 444.3 MB, free: 4.699 MB / 350.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.0001814/0.3905, allocations: 165.9 kB / 444.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.582e-05/0.3906, allocations: 27.72 kB / 444.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009724/0.3916, allocations: 0.693 MB / 445.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/0.3916, allocations: 7.984 kB / 445.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.3916, allocations: 0 / 445.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007734/0.3924, allocations: 0.8709 MB / 446 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.3937, allocations: 1.179 MB / 447.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3937, allocations: 0 / 447.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.394, allocations: 59.97 kB / 447.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/0.3955, allocations: 188.3 kB / 447.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.3956, allocations: 12 kB / 447.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003127/0.3959, allocations: 0.5719 MB / 448 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3959, allocations: 4.031 kB / 448 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008719/0.3968, allocations: 0.7296 MB / 448.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.3969, allocations: 116.6 kB / 448.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/0.3969, allocations: 7.938 kB / 448.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.3971, allocations: 12.16 kB / 448.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.3971, allocations: 27.91 kB / 448.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.3972, allocations: 13.11 kB / 448.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.3974, allocations: 218 kB / 449.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3974, allocations: 0 / 449.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003851/0.4013, allocations: 0.7379 MB / 449.9 MB, free: 14.83 MB / 366.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.03256/0.4338, allocations: 6.407 MB / 456.3 MB, free: 8.406 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.4349, allocations: 0.4909 MB / 456.8 MB, free: 7.902 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.435, allocations: 4 kB / 456.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.4353, allocations: 221.5 kB / 457 MB, free: 7.684 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.4365, allocations: 188.2 kB / 457.2 MB, free: 7.504 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.438, allocations: 0.897 MB / 458.1 MB, free: 6.578 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.4383, allocations: 0.8051 MB / 458.9 MB, free: 5.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004027/0.4387, allocations: 188.1 kB / 459.1 MB, free: 5.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.562e-05/0.4388, allocations: 35.42 kB / 459.1 MB, free: 5.535 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4388, allocations: 0 / 459.1 MB, free: 5.535 MB / 366.1 MB Notification: Performance of Templates: time 0.04289/0.4817, allocations: 28.97 MB / 488.1 MB, free: 8.594 MB / 398.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