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.001481/0.001481, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001729/0.00173, allocations: 183.1 kB / 18.66 MB, free: 4.438 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.414/1.414, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001159/0.00116, allocations: 43.94 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08774/0.08891, allocations: 46.62 MB / 375.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2145/0.3035, allocations: 26.59 MB / 401.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02799/0.3315, allocations: 24.87 MB / 426.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006293/0.3322, allocations: 5.469 kB / 426.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.3333, allocations: 293.8 kB / 426.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.3343, allocations: 366.3 kB / 427.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01275/0.3471, allocations: 4.016 MB / 431.3 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001539/0.3487, allocations: 0.9431 MB / 432.2 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.3489, allocations: 103.9 kB / 432.3 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009126/0.3499, allocations: 395.7 kB / 432.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006499/0.3505, allocations: 306.8 kB / 433 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.3506, allocations: 36 kB / 433 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02558/0.3762, allocations: 10.43 MB / 443.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.3766, allocations: 99.7 kB / 443.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004955/0.3771, allocations: 227.2 kB / 443.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03577/0.4129, allocations: 11.49 MB / 455.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.4129, allocations: 4 kB / 455.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.413, allocations: 0 / 455.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.413, allocations: 0 / 455.3 MB, free: 15.36 MB / 382.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.008095/0.4211, allocations: 1.18 MB / 456.5 MB, free: 14.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4211, allocations: 12.03 kB / 456.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000637/0.4218, allocations: 63.73 kB / 456.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006037/0.4224, allocations: 330.4 kB / 456.9 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.4224, allocations: 24.66 kB / 456.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.4225, allocations: 39.95 kB / 456.9 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009301/0.4234, allocations: 467.7 kB / 457.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.4235, allocations: 3.938 kB / 457.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.511e-05/0.4235, allocations: 16 kB / 457.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.4235, allocations: 8 kB / 457.4 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007108/0.4243, allocations: 386.3 kB / 457.8 MB, free: 12.71 MB / 382.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.003354/0.4276, allocations: 2.947 MB / 460.7 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000688/0.4283, allocations: 298.7 kB / 461 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.4285, allocations: 136.8 kB / 461.2 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002317/0.4309, allocations: 2.47 MB / 463.6 MB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.4309, allocations: 34.56 kB / 463.7 MB, free: 6.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.933e-06/0.4309, allocations: 0 / 463.7 MB, free: 6.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005204/0.4361, allocations: 1.295 MB / 465 MB, free: 4.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.4362, allocations: 55.41 kB / 465 MB, free: 4.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.4365, allocations: 266.6 kB / 465.3 MB, free: 4.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.4365, allocations: 33.7 kB / 465.3 MB, free: 4.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.4367, allocations: 188.4 kB / 465.5 MB, free: 4.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.864e-05/0.4368, allocations: 122.9 kB / 465.6 MB, free: 4.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.4369, allocations: 86.08 kB / 465.7 MB, free: 3.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.437, allocations: 350.7 kB / 466 MB, free: 3.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.4372, allocations: 108.8 kB / 466.1 MB, free: 3.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.4375, allocations: 234 kB / 466.4 MB, free: 3.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/0.4381, allocations: 373.5 kB / 466.7 MB, free: 2.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.4381, allocations: 4 kB / 466.7 MB, free: 2.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008298/0.4389, allocations: 454.8 kB / 467.2 MB, free: 2.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4389, allocations: 12.38 kB / 467.2 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.439, allocations: 8 kB / 467.2 MB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004657/0.4436, allocations: 233.4 kB / 467.4 MB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/0.444, allocations: 91.83 kB / 467.5 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.4455, allocations: 1.933 MB / 469.5 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.4458, allocations: 24.19 kB / 469.5 MB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/0.4458, allocations: 20 kB / 469.5 MB, free: 15.85 MB / 398.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.0002265/0.4461, allocations: 157.8 kB / 469.7 MB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.4462, allocations: 31.81 kB / 469.7 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.4473, allocations: 0.6977 MB / 470.4 MB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.4473, allocations: 6.438 kB / 470.4 MB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.4474, allocations: 4 kB / 470.4 MB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008537/0.4482, allocations: 0.8602 MB / 471.3 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.45, allocations: 1.198 MB / 472.4 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.45, allocations: 0 / 472.4 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.4503, allocations: 63.91 kB / 472.5 MB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/0.4518, allocations: 176.6 kB / 472.7 MB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.4519, allocations: 12 kB / 472.7 MB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003557/0.4522, allocations: 0.568 MB / 473.3 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4522, allocations: 7.969 kB / 473.3 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009615/0.4532, allocations: 0.7383 MB / 474 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.4533, allocations: 108.9 kB / 474.1 MB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.366e-05/0.4534, allocations: 15.94 kB / 474.1 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.4536, allocations: 4 kB / 474.1 MB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.4537, allocations: 31.84 kB / 474.2 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.4537, allocations: 11.98 kB / 474.2 MB, free: 10.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003315/0.454, allocations: 221.9 kB / 474.4 MB, free: 10.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4541, allocations: 4.062 kB / 474.4 MB, free: 10.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004411/0.4585, allocations: 0.7442 MB / 475.1 MB, free: 9.965 MB / 398.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.02547/0.484, allocations: 6.4 MB / 481.5 MB, free: 3.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.4852, allocations: 490.1 kB / 482 MB, free: 3.062 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.4853, allocations: 4.125 kB / 482 MB, free: 3.059 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004462/0.4857, allocations: 220.2 kB / 482.2 MB, free: 2.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.487, allocations: 198.5 kB / 482.4 MB, free: 2.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.4887, allocations: 0.9005 MB / 483.3 MB, free: 1.723 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.4891, allocations: 0.8012 MB / 484.1 MB, free: 0.8984 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004287/0.4895, allocations: 187 kB / 484.3 MB, free: 0.7109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.031e-05/0.4896, allocations: 39.42 kB / 484.4 MB, free: 0.6758 MB / 398.1 MB Notification: Performance of SimCode: time 1.853e-06/0.4896, allocations: 0 / 484.4 MB, free: 0.6758 MB / 398.1 MB Notification: Performance of Templates: time 0.04237/0.532, allocations: 29.05 MB / 0.5014 GB, free: 3.551 MB / 430.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