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.001429/0.001429, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.001662/0.001662, allocations: 192.1 kB / 19.28 MB, free: 3.766 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.291/1.291, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001214/0.001214, allocations: 52.39 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0793/0.08052, allocations: 46.62 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02544/0.106, allocations: 26.6 MB / 355.3 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02478/0.1308, allocations: 24.87 MB / 380.2 MB, free: 104 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004102/0.1313, allocations: 8 kB / 380.2 MB, free: 96 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1494/0.2807, allocations: 283.9 kB / 380.5 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008692/0.2816, allocations: 371.2 kB / 380.8 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009733/0.2914, allocations: 4 MB / 384.8 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.2925, allocations: 0.9457 MB / 385.8 MB, free: 9.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.2927, allocations: 108.8 kB / 385.9 MB, free: 9.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005156/0.2932, allocations: 387.7 kB / 386.3 MB, free: 9.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.2936, allocations: 303.6 kB / 386.6 MB, free: 9.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.665e-05/0.2937, allocations: 38.28 kB / 386.6 MB, free: 9.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0161/0.3098, allocations: 10.42 MB / 397 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.31, allocations: 103.3 kB / 397.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004107/0.3104, allocations: 225.9 kB / 397.3 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02181/0.3323, allocations: 11.49 MB / 408.8 MB, free: 3.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3323, allocations: 0.8125 kB / 408.8 MB, free: 3.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3323, allocations: 0 / 408.8 MB, free: 3.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.3323, allocations: 0.7812 kB / 408.8 MB, free: 3.68 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.005785/0.3381, allocations: 1.145 MB / 410 MB, free: 2.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.3382, allocations: 12.81 kB / 410 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005165/0.3387, allocations: 64.41 kB / 410 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.3391, allocations: 323.2 kB / 410.4 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.3391, allocations: 24.75 kB / 410.4 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.656e-05/0.3392, allocations: 33.12 kB / 410.4 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000745/0.34, allocations: 465.4 kB / 410.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.34, allocations: 7.219 kB / 410.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.34, allocations: 14.81 kB / 410.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.34, allocations: 9.719 kB / 410.9 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006339/0.3407, allocations: 387.3 kB / 411.3 MB, free: 1.531 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.003318/0.344, allocations: 2.948 MB / 414.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/0.3447, allocations: 286.2 kB / 414.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.3449, allocations: 138.7 kB / 414.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002333/0.3472, allocations: 2.47 MB / 417.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.3473, allocations: 35.12 kB / 417.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.723e-06/0.3473, allocations: 4.781 kB / 417.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.005166/0.3525, allocations: 1.284 MB / 418.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.3525, allocations: 56.75 kB / 418.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.3528, allocations: 264.5 kB / 418.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.3528, allocations: 33.8 kB / 418.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.3529, allocations: 193.2 kB / 419 MB, free: 9.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.711e-05/0.353, allocations: 117.1 kB / 419.1 MB, free: 9.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.3532, allocations: 82.81 kB / 419.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3533, allocations: 341.9 kB / 419.5 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.3535, allocations: 113 kB / 419.6 MB, free: 9.375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.3538, allocations: 223.6 kB / 419.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004787/0.3542, allocations: 376.8 kB / 420.2 MB, free: 8.887 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3543, allocations: 3.75 kB / 420.2 MB, free: 8.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007964/0.3551, allocations: 463.5 kB / 420.6 MB, free: 8.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3551, allocations: 9.719 kB / 420.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.3551, allocations: 7.984 kB / 420.7 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004846/0.36, allocations: 229.4 kB / 420.9 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.3603, allocations: 94.36 kB / 421 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.3616, allocations: 1.946 MB / 422.9 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.3618, allocations: 12.88 kB / 422.9 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.3618, allocations: 18 kB / 423 MB, free: 6.246 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.0001772/0.362, allocations: 167 kB / 423.1 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.133e-05/0.3621, allocations: 27.66 kB / 423.1 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009636/0.3631, allocations: 0.6878 MB / 423.8 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.3631, allocations: 7.688 kB / 423.8 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.3631, allocations: 0 / 423.8 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007599/0.3639, allocations: 0.8582 MB / 424.7 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.3653, allocations: 1.203 MB / 425.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3653, allocations: 0.7812 kB / 425.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.3656, allocations: 62.59 kB / 426 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001613/0.3672, allocations: 183.6 kB / 426.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.3672, allocations: 8 kB / 426.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003249/0.3675, allocations: 0.5728 MB / 426.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/0.3676, allocations: 8.781 kB / 426.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009296/0.3685, allocations: 0.7305 MB / 427.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.625e-05/0.3686, allocations: 112.7 kB / 427.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/0.3687, allocations: 12.72 kB / 427.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.3689, allocations: 4 kB / 427.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.3689, allocations: 28.72 kB / 427.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.3689, allocations: 19.92 kB / 427.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.3692, allocations: 218.8 kB / 427.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3692, allocations: 0 / 427.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.004151/0.3733, allocations: 0.7348 MB / 428.6 MB, free: 1.234 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.02398/0.3973, allocations: 6.402 MB / 435 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000947/0.3983, allocations: 482 kB / 435.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3983, allocations: 0 / 435.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.3987, allocations: 225.5 kB / 435.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.3997, allocations: 191.9 kB / 435.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.4012, allocations: 0.8889 MB / 436.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.4015, allocations: 0.8051 MB / 437.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003536/0.4019, allocations: 190.9 kB / 437.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.009e-05/0.402, allocations: 46.42 kB / 437.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.402, allocations: 0 / 437.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of Templates: time 0.03844/0.4404, allocations: 28.95 MB / 466.7 MB, free: 11.3 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/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