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.001213/0.001213, allocations: 106.5 kB / 17.15 MB, free: 6.328 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.001257/0.001257, allocations: 198 kB / 18.07 MB, free: 5.434 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.176/1.176, allocations: 205.1 MB / 223.9 MB, free: 12.49 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.001094/0.001094, allocations: 44.14 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07331/0.07442, allocations: 46.63 MB / 326.7 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02628/0.1007, allocations: 26.32 MB / 353 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02415/0.1249, allocations: 25.64 MB / 378.7 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003015/0.1252, allocations: 4 kB / 378.7 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007416/0.126, allocations: 246.7 kB / 378.9 MB, free: 408 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007129/0.1268, allocations: 358.1 kB / 379.2 MB, free: 48 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.146/0.2728, allocations: 3.232 MB / 382.5 MB, free: 10 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.2741, allocations: 1.398 MB / 383.9 MB, free: 10 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.2742, allocations: 81.75 kB / 384 MB, free: 9.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004394/0.2747, allocations: 331.2 kB / 384.3 MB, free: 9.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003422/0.275, allocations: 321.9 kB / 384.6 MB, free: 9.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.193e-05/0.2751, allocations: 19.03 kB / 384.6 MB, free: 9.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03442/0.3095, allocations: 27.65 MB / 412.3 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.3098, allocations: 88.48 kB / 412.4 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004218/0.3102, allocations: 209.3 kB / 412.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04971/0.3599, allocations: 20.15 MB / 432.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.36, allocations: 2.5 kB / 432.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.36, allocations: 0 / 432.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.36, allocations: 0 / 432.7 MB, free: 9.949 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.004786/0.3648, allocations: 1.146 MB / 433.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3648, allocations: 8.031 kB / 433.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.224e-05/0.3649, allocations: 72.09 kB / 433.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004872/0.3654, allocations: 67.53 kB / 434 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.3657, allocations: 319.1 kB / 434.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.3658, allocations: 23.22 kB / 434.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/0.3658, allocations: 30.62 kB / 434.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007538/0.3666, allocations: 468.8 kB / 434.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3666, allocations: 2.906 kB / 434.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.3667, allocations: 19.5 kB / 434.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3667, allocations: 11.98 kB / 434.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006246/0.3673, allocations: 388.1 kB / 435.2 MB, free: 7.73 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.002854/0.3702, allocations: 2.94 MB / 438.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005475/0.3707, allocations: 283.9 kB / 438.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.3709, allocations: 136.2 kB / 438.6 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002057/0.373, allocations: 2.476 MB / 441.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.373, allocations: 42 kB / 441.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.463e-06/0.373, allocations: 0 / 441.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.004701/0.3777, allocations: 1.294 MB / 442.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.3778, allocations: 63.34 kB / 442.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.378, allocations: 260.5 kB / 442.7 MB, free: 304 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.378, allocations: 31.77 kB / 442.7 MB, free: 272 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3782, allocations: 179.3 kB / 442.9 MB, free: 116 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.401e-05/0.3782, allocations: 126.8 kB / 443 MB, free: 8 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.3784, allocations: 80.75 kB / 443.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3785, allocations: 333.9 kB / 443.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.3787, allocations: 118.3 kB / 443.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.3789, allocations: 235.8 kB / 443.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/0.3794, allocations: 371.6 kB / 444.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3794, allocations: 4 kB / 444.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007271/0.3801, allocations: 459.8 kB / 444.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3801, allocations: 4 kB / 444.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3801, allocations: 4 kB / 444.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004713/0.3849, allocations: 244.9 kB / 444.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.3852, allocations: 85.66 kB / 444.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.3864, allocations: 1.839 MB / 446.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.3867, allocations: 30.17 kB / 446.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.3867, allocations: 27.61 kB / 446.8 MB, free: 12.48 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.0001755/0.3869, allocations: 167.9 kB / 447 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.27e-05/0.387, allocations: 31.62 kB / 447 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009437/0.3879, allocations: 0.691 MB / 447.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3879, allocations: 4 kB / 447.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.3879, allocations: 0 / 447.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000729/0.3887, allocations: 0.8648 MB / 448.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.39, allocations: 1.188 MB / 449.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.39, allocations: 2.906 kB / 449.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.3903, allocations: 66.16 kB / 449.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001589/0.3918, allocations: 170.8 kB / 450 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.3919, allocations: 15.23 kB / 450 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003203/0.3922, allocations: 0.5728 MB / 450.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3922, allocations: 0 / 450.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008427/0.3931, allocations: 0.7446 MB / 451.3 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.218e-05/0.3932, allocations: 110.5 kB / 451.5 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.3932, allocations: 13.11 kB / 451.5 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.3934, allocations: 26.64 kB / 451.5 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.3935, allocations: 22.59 kB / 451.5 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.3935, allocations: 15.61 kB / 451.5 MB, free: 8.715 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.3937, allocations: 225.4 kB / 451.8 MB, free: 8.539 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3937, allocations: 0 / 451.8 MB, free: 8.539 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004023/0.3977, allocations: 0.7363 MB / 452.5 MB, free: 7.859 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.03292/0.4307, allocations: 7.576 MB / 460.1 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009199/0.4316, allocations: 494.5 kB / 460.5 MB, free: 224 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.4316, allocations: 4 kB / 460.6 MB, free: 220 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003544/0.432, allocations: 220.6 kB / 460.8 MB, free: 4 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.4331, allocations: 174.9 kB / 460.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007573/0.4407, allocations: 4.2 MB / 465.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.441, allocations: 0.8086 MB / 465.9 MB, free: 10.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004157/0.4415, allocations: 190 kB / 466.1 MB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.4417, allocations: 143.3 kB / 466.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4417, allocations: 3.938 kB / 466.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8382/1.28, allocations: 33.05 MB / 499.3 MB, free: 9.262 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/1.28, allocations: 226.8 kB / 499.5 MB, free: 8.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.128/4.408, allocations: 0 / 499.5 MB, free: 8.996 MB / 414.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","../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches