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.001462/0.001462, allocations: 110.6 kB / 17.73 MB, free: 5.32 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.00148/0.00148, allocations: 194.9 kB / 18.67 MB, free: 4.387 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.351/1.351, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001679/0.001679, allocations: 59.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07994/0.08163, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1855/0.2672, allocations: 26.6 MB / 401.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02777/0.295, allocations: 24.87 MB / 426.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004258/0.2955, allocations: 9.406 kB / 426.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008904/0.2964, allocations: 293.1 kB / 426.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008295/0.2972, allocations: 359.1 kB / 426.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01121/0.3085, allocations: 4.019 MB / 430.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.3099, allocations: 0.9392 MB / 431.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.3101, allocations: 111.9 kB / 431.8 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006779/0.3108, allocations: 383.2 kB / 432.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004091/0.3112, allocations: 301.5 kB / 432.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.304e-05/0.3113, allocations: 40.59 kB / 432.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02273/0.3341, allocations: 10.43 MB / 443 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002496/0.3343, allocations: 103.7 kB / 443.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004678/0.3348, allocations: 219.1 kB / 443.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03353/0.3684, allocations: 11.5 MB / 454.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.3684, allocations: 7.922 kB / 454.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3684, allocations: 4 kB / 454.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.3684, allocations: 0 / 454.8 MB, free: 15.67 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.00622/0.3747, allocations: 1.169 MB / 456 MB, free: 14.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.3747, allocations: 8.031 kB / 456 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.059e-05/0.3748, allocations: 78.47 kB / 456.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005294/0.3754, allocations: 71.73 kB / 456.1 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.3759, allocations: 322.4 kB / 456.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/0.3759, allocations: 28.66 kB / 456.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-05/0.376, allocations: 35.89 kB / 456.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008803/0.3769, allocations: 467.7 kB / 457 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.3769, allocations: 4 kB / 457 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/0.3769, allocations: 16 kB / 457 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.377, allocations: 8 kB / 457 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007314/0.3777, allocations: 386.2 kB / 457.4 MB, free: 12.96 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.003428/0.3811, allocations: 2.942 MB / 460.3 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006861/0.3818, allocations: 294.8 kB / 460.6 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.382, allocations: 128.8 kB / 460.7 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002557/0.3846, allocations: 2.474 MB / 463.2 MB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.3847, allocations: 38.56 kB / 463.2 MB, free: 6.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.134e-06/0.3847, allocations: 0 / 463.2 MB, free: 6.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005118/0.3898, allocations: 1.302 MB / 464.5 MB, free: 4.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.3899, allocations: 55.41 kB / 464.6 MB, free: 4.898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.3901, allocations: 258.6 kB / 464.8 MB, free: 4.637 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.3902, allocations: 29.7 kB / 464.9 MB, free: 4.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.3903, allocations: 192.4 kB / 465.1 MB, free: 4.406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.3904, allocations: 130.9 kB / 465.2 MB, free: 4.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.3906, allocations: 86.08 kB / 465.3 MB, free: 4.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3907, allocations: 338.8 kB / 465.6 MB, free: 3.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.3909, allocations: 112.8 kB / 465.7 MB, free: 3.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.3912, allocations: 237.9 kB / 466 MB, free: 3.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/0.3918, allocations: 372.3 kB / 466.3 MB, free: 3.043 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3918, allocations: 4 kB / 466.3 MB, free: 3.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008232/0.3926, allocations: 463 kB / 466.8 MB, free: 2.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3926, allocations: 4 kB / 466.8 MB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3927, allocations: 4 kB / 466.8 MB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004277/0.3969, allocations: 233.4 kB / 467 MB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.3973, allocations: 87.89 kB / 467.1 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.3989, allocations: 1.944 MB / 469 MB, free: 144 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.3991, allocations: 12 kB / 469 MB, free: 132 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.3992, allocations: 24.86 kB / 469.1 MB, free: 108 kB / 382.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.0002261/0.3994, allocations: 161.7 kB / 469.2 MB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.173e-05/0.3995, allocations: 35.75 kB / 469.3 MB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.4006, allocations: 0.7002 MB / 470 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.4006, allocations: 4 kB / 470 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.4006, allocations: 0 / 470 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008915/0.4015, allocations: 0.864 MB / 470.8 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.403, allocations: 1.187 MB / 472 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.403, allocations: 3.938 kB / 472 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.4033, allocations: 65.53 kB / 472.1 MB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001461/0.4048, allocations: 176.5 kB / 472.3 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.4048, allocations: 7.984 kB / 472.3 MB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004012/0.4052, allocations: 0.5758 MB / 472.8 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.4052, allocations: 3.938 kB / 472.8 MB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.4063, allocations: 0.7383 MB / 473.6 MB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-05/0.4064, allocations: 108.8 kB / 473.7 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/0.4064, allocations: 11.98 kB / 473.7 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.4066, allocations: 8 kB / 473.7 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.4067, allocations: 23.91 kB / 473.7 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.4067, allocations: 20.16 kB / 473.8 MB, free: 11.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002372/0.4069, allocations: 221.9 kB / 474 MB, free: 10.97 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4069, allocations: 0 / 474 MB, free: 10.97 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003801/0.4108, allocations: 0.748 MB / 474.7 MB, free: 10.22 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.02455/0.4353, allocations: 7.582 MB / 482.3 MB, free: 2.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.4364, allocations: 481.4 kB / 482.8 MB, free: 2.117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.4364, allocations: 3.938 kB / 482.8 MB, free: 2.113 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.4368, allocations: 225.7 kB / 483 MB, free: 1.895 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.4379, allocations: 188.5 kB / 483.2 MB, free: 1.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007577/0.4455, allocations: 4.041 MB / 487.2 MB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.446, allocations: 0.8166 MB / 488 MB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004057/0.4464, allocations: 187.7 kB / 488.2 MB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.4466, allocations: 143.3 kB / 488.4 MB, free: 12.32 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4466, allocations: 0 / 488.4 MB, free: 12.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0753/0.5219, allocations: 33.72 MB / 0.5098 GB, free: 10.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.09, allocations: 19.81 kB / 0.5099 GB, free: 10.45 MB / 446.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