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: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008854/0.0008854, allocations: 106.9 kB / 17.58 MB, free: 5.559 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.0008975/0.0008975, allocations: 192 kB / 18.51 MB, free: 4.641 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.205/1.205, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001127/0.001127, allocations: 51.92 kB / 280.7 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07495/0.07609, allocations: 46.63 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.0237/0.09982, allocations: 26.59 MB / 354 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0226/0.1225, allocations: 24.87 MB / 378.8 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003174/0.1228, allocations: 4 kB / 378.8 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007504/0.1236, allocations: 298.3 kB / 379.1 MB, free: 436 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000653/0.1243, allocations: 365.9 kB / 379.5 MB, free: 68 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1417/0.2659, allocations: 4.001 MB / 383.5 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009447/0.2669, allocations: 0.9421 MB / 384.4 MB, free: 10 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.2671, allocations: 113.6 kB / 384.5 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004398/0.2676, allocations: 389.5 kB / 384.9 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.2679, allocations: 297.2 kB / 385.2 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.628e-05/0.2679, allocations: 38.69 kB / 385.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.017/0.285, allocations: 10.39 MB / 395.6 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000234/0.2852, allocations: 107.5 kB / 395.7 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004633/0.2857, allocations: 221.1 kB / 396 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02789/0.3136, allocations: 11.49 MB / 407.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3136, allocations: 0.8125 kB / 407.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3136, allocations: 0 / 407.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.3137, allocations: 0 / 407.5 MB, free: 4.262 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.005674/0.3193, allocations: 1.138 MB / 408.6 MB, free: 3.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3194, allocations: 8.031 kB / 408.6 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.679e-05/0.3194, allocations: 72.84 kB / 408.7 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004689/0.3199, allocations: 70.97 kB / 408.7 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.3202, allocations: 314.4 kB / 409 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.3202, allocations: 31.81 kB / 409.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.3203, allocations: 37.56 kB / 409.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006392/0.3209, allocations: 461.3 kB / 409.6 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.3209, allocations: 4 kB / 409.6 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.321, allocations: 14.31 kB / 409.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.321, allocations: 9.719 kB / 409.6 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005544/0.3215, allocations: 384.5 kB / 410 MB, free: 2.066 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.002496/0.324, allocations: 2.962 MB / 412.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005465/0.3246, allocations: 291.2 kB / 413.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.3248, allocations: 132.5 kB / 413.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002089/0.3269, allocations: 2.474 MB / 415.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.3269, allocations: 37.19 kB / 415.9 MB, free: 12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 7.113e-06/0.3269, allocations: 2.422 kB / 415.9 MB, free: 12 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.004612/0.3316, allocations: 1.288 MB / 417.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.3316, allocations: 51.41 kB / 417.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.3318, allocations: 260.9 kB / 417.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.3319, allocations: 34.89 kB / 417.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.332, allocations: 186.1 kB / 417.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.576e-05/0.3321, allocations: 127 kB / 417.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.881e-05/0.3322, allocations: 81.69 kB / 417.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3323, allocations: 335.2 kB / 418.2 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.3325, allocations: 114.6 kB / 418.3 MB, free: 9.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.3327, allocations: 230.6 kB / 418.5 MB, free: 9.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.3331, allocations: 371 kB / 418.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3332, allocations: 1.312 kB / 418.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007067/0.3339, allocations: 470.3 kB / 419.4 MB, free: 9.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3339, allocations: 5.312 kB / 419.4 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3339, allocations: 7.312 kB / 419.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00435/0.3383, allocations: 235.3 kB / 419.6 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.3386, allocations: 90.27 kB / 419.7 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.3398, allocations: 1.951 MB / 421.6 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.34, allocations: 10.84 kB / 421.6 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.34, allocations: 23.67 kB / 421.7 MB, free: 6.77 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.0001588/0.3402, allocations: 161.2 kB / 421.8 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.3403, allocations: 31.66 kB / 421.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000916/0.3412, allocations: 0.6916 MB / 422.5 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.3412, allocations: 10.06 kB / 422.6 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.3412, allocations: 3.938 kB / 422.6 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000722/0.342, allocations: 0.8652 MB / 423.4 MB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.3432, allocations: 1.187 MB / 424.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3433, allocations: 1.688 kB / 424.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.3435, allocations: 64.75 kB / 424.7 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/0.3449, allocations: 177.5 kB / 424.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.345, allocations: 14.23 kB / 424.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003144/0.3453, allocations: 0.5699 MB / 425.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.3453, allocations: 3.938 kB / 425.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008444/0.3461, allocations: 0.735 MB / 426.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.3462, allocations: 108.7 kB / 426.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.733e-05/0.3463, allocations: 13.06 kB / 426.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.3464, allocations: 9.047 kB / 426.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.3465, allocations: 27.91 kB / 426.3 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.3465, allocations: 12.81 kB / 426.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000194/0.3467, allocations: 221.9 kB / 426.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3467, allocations: 0.7812 kB / 426.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.004104/0.3508, allocations: 0.7379 MB / 427.3 MB, free: 1.93 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.03285/0.3837, allocations: 7.565 MB / 434.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.3847, allocations: 0.4925 MB / 435.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3848, allocations: 0.875 kB / 435.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.3851, allocations: 222 kB / 435.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.3861, allocations: 208.3 kB / 435.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006845/0.393, allocations: 4.047 MB / 439.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.3933, allocations: 0.8008 MB / 440.6 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003773/0.3937, allocations: 194.6 kB / 440.8 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.3939, allocations: 131.4 kB / 440.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3939, allocations: 4 kB / 440.9 MB, free: 4.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.942/3.336, allocations: 33.55 MB / 474.5 MB, free: 2.695 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/15.14, allocations: 15.91 kB / 474.5 MB, free: 2.68 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1.fmu > 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