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.001126/0.001126, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.00116/0.00116, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.328/1.328, allocations: 222.9 MB / 241.8 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 47.86 kB / 300.6 MB, free: 6.301 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09881, allocations: 49.45 MB / 350.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1994/0.2982, allocations: 26.3 MB / 376.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02378/0.3221, allocations: 25.63 MB / 402 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004724/0.3226, allocations: 4.25 kB / 402 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009349/0.3235, allocations: 259.2 kB / 402.2 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009572/0.3245, allocations: 356 kB / 402.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01288/0.3374, allocations: 3.243 MB / 405.8 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.3391, allocations: 1.394 MB / 407.2 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.3393, allocations: 89.08 kB / 407.3 MB, free: 8.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007624/0.3401, allocations: 342.9 kB / 407.6 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005435/0.3407, allocations: 311 kB / 407.9 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.081e-05/0.3407, allocations: 19.25 kB / 408 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04633/0.3871, allocations: 27.66 MB / 435.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003146/0.3874, allocations: 87.72 kB / 435.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006232/0.3881, allocations: 211.1 kB / 435.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03012/0.4182, allocations: 10.7 MB / 446.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4183, allocations: 0 / 446.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4183, allocations: 0 / 446.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.4183, allocations: 0 / 446.6 MB, free: 3.461 MB / 350.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.006457/0.4248, allocations: 1.139 MB / 447.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.4248, allocations: 8.031 kB / 447.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005875/0.4254, allocations: 67.59 kB / 447.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.4258, allocations: 322.2 kB / 448.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.4258, allocations: 28.59 kB / 448.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.4259, allocations: 28 kB / 448.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008461/0.4267, allocations: 471.7 kB / 448.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.4268, allocations: 0 / 448.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.4268, allocations: 16 kB / 448.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.4268, allocations: 8 kB / 448.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007237/0.4276, allocations: 382.3 kB / 449.1 MB, free: 0.8945 MB / 350.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.003399/0.431, allocations: 2.949 MB / 452 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006685/0.4317, allocations: 298.7 kB / 452.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.4319, allocations: 136.7 kB / 452.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002284/0.4342, allocations: 2.466 MB / 454.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.4342, allocations: 42.56 kB / 454.9 MB, free: 10.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.204e-06/0.4342, allocations: 0 / 454.9 MB, free: 10.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.005354/0.4396, allocations: 1.283 MB / 456.2 MB, free: 8.898 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.4396, allocations: 51.41 kB / 456.3 MB, free: 8.836 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.4399, allocations: 258.5 kB / 456.5 MB, free: 8.578 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.44, allocations: 37.7 kB / 456.6 MB, free: 8.535 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.4401, allocations: 192 kB / 456.7 MB, free: 8.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.819e-05/0.4402, allocations: 122.3 kB / 456.9 MB, free: 8.219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.4403, allocations: 82.06 kB / 456.9 MB, free: 8.133 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.4405, allocations: 338.8 kB / 457.3 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.4407, allocations: 120.8 kB / 457.4 MB, free: 7.676 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.441, allocations: 230 kB / 457.6 MB, free: 7.406 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005311/0.4415, allocations: 390.5 kB / 458 MB, free: 6.977 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4415, allocations: 0 / 458 MB, free: 6.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008585/0.4424, allocations: 454.8 kB / 458.4 MB, free: 6.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.4424, allocations: 10.97 kB / 458.5 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.4424, allocations: 4 kB / 458.5 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00492/0.4474, allocations: 225.4 kB / 458.7 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.4478, allocations: 91.83 kB / 458.8 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.4493, allocations: 1.853 MB / 460.6 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.4496, allocations: 27.98 kB / 460.6 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/0.4497, allocations: 20 kB / 460.7 MB, free: 4.137 MB / 366.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.0002257/0.4499, allocations: 169.8 kB / 460.8 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.45, allocations: 39.55 kB / 460.9 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.4512, allocations: 0.6835 MB / 461.6 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.4512, allocations: 8 kB / 461.6 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.4512, allocations: 0 / 461.6 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008033/0.452, allocations: 0.8593 MB / 462.4 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.4535, allocations: 1.19 MB / 463.6 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4535, allocations: 0 / 463.6 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.4538, allocations: 67.91 kB / 463.7 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001718/0.4555, allocations: 172.5 kB / 463.8 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.922e-05/0.4556, allocations: 12 kB / 463.9 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004501/0.456, allocations: 0.5834 MB / 464.4 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.456, allocations: 0 / 464.4 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.4571, allocations: 0.7297 MB / 465.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.4573, allocations: 104.7 kB / 465.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.586e-05/0.4574, allocations: 19.84 kB / 465.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.4576, allocations: 28.02 kB / 465.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.4577, allocations: 23.97 kB / 465.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.4577, allocations: 8 kB / 465.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002338/0.4579, allocations: 221.9 kB / 465.6 MB, free: 15 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.144e-06/0.458, allocations: 0 / 465.6 MB, free: 15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004883/0.4628, allocations: 0.7418 MB / 466.3 MB, free: 14.25 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.03636/0.4992, allocations: 6.397 MB / 472.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.5004, allocations: 490.3 kB / 473.2 MB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.5004, allocations: 0 / 473.2 MB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004431/0.5008, allocations: 217.5 kB / 473.4 MB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.5021, allocations: 184.6 kB / 473.6 MB, free: 6.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.5038, allocations: 1.07 MB / 474.7 MB, free: 5.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.5042, allocations: 0.809 MB / 475.5 MB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.5043, allocations: 39.42 kB / 475.5 MB, free: 4.98 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5043, allocations: 8 kB / 475.5 MB, free: 4.973 MB / 382.1 MB Notification: Performance of Templates: time 0.04178/0.5461, allocations: 29.17 MB / 0.4929 GB, free: 7.777 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/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