Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001177/0.001178, allocations: 107.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 57.31 kB / 306.5 MB, free: 0.8594 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08278/0.08392, allocations: 50.54 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1472/0.2312, allocations: 26.48 MB / 383.6 MB, free: 5.832 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02044/0.2517, allocations: 24.79 MB / 408.4 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000294/0.252, allocations: 4.938 kB / 408.4 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006668/0.2527, allocations: 260 kB / 408.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007086/0.2534, allocations: 343.7 kB / 408.9 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008177/0.2616, allocations: 3.554 MB / 412.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009839/0.2626, allocations: 0.947 MB / 413.4 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.2628, allocations: 106.1 kB / 413.5 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005528/0.2633, allocations: 394.7 kB / 413.9 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003314/0.2637, allocations: 311.6 kB / 414.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.025e-05/0.2637, allocations: 34.91 kB / 414.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0312/0.2949, allocations: 30.1 MB / 444.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.2952, allocations: 111.6 kB / 444.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003511/0.2955, allocations: 227.1 kB / 444.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03911/0.3347, allocations: 20.18 MB / 464.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3347, allocations: 0 / 464.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3347, allocations: 0 / 464.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.3347, allocations: 0 / 464.9 MB, free: 15.14 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.005328/0.3401, allocations: 1.135 MB / 466 MB, free: 13.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3401, allocations: 12.03 kB / 466 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.336e-05/0.3402, allocations: 70.53 kB / 466.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005183/0.3407, allocations: 71.44 kB / 466.2 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.3411, allocations: 310.4 kB / 466.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.3412, allocations: 28.66 kB / 466.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.3412, allocations: 35.91 kB / 466.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008132/0.342, allocations: 459.8 kB / 467 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.3421, allocations: 3.938 kB / 467 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.3421, allocations: 20 kB / 467 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.3421, allocations: 11.94 kB / 467 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006794/0.3428, allocations: 382.3 kB / 467.4 MB, free: 12.5 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.003027/0.3458, allocations: 2.941 MB / 470.3 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005932/0.3464, allocations: 302.8 kB / 470.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.3466, allocations: 136.8 kB / 470.8 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002069/0.3487, allocations: 2.466 MB / 473.2 MB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.3488, allocations: 38.56 kB / 473.3 MB, free: 5.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.3488, allocations: 0 / 473.3 MB, free: 5.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005008/0.3538, allocations: 1.28 MB / 474.5 MB, free: 4.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.3538, allocations: 59.34 kB / 474.6 MB, free: 4.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.3541, allocations: 266.5 kB / 474.9 MB, free: 4.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.3541, allocations: 33.7 kB / 474.9 MB, free: 4.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.3542, allocations: 188 kB / 475.1 MB, free: 3.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.406e-05/0.3543, allocations: 122.3 kB / 475.2 MB, free: 3.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.3544, allocations: 86.03 kB / 475.3 MB, free: 3.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.3546, allocations: 338.8 kB / 475.6 MB, free: 3.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.3548, allocations: 108.8 kB / 475.7 MB, free: 3.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.355, allocations: 234 kB / 476 MB, free: 3.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.3555, allocations: 386 kB / 476.3 MB, free: 2.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3555, allocations: 0 / 476.3 MB, free: 2.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007576/0.3563, allocations: 454.6 kB / 476.8 MB, free: 2.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3563, allocations: 8 kB / 476.8 MB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3563, allocations: 4 kB / 476.8 MB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004798/0.3611, allocations: 237.9 kB / 477 MB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.3614, allocations: 91.78 kB / 477.1 MB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.3627, allocations: 1.95 MB / 479.1 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.3629, allocations: 32.17 kB / 479.1 MB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.363, allocations: 20 kB / 479.1 MB, free: 15.63 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.0001673/0.3631, allocations: 169.6 kB / 479.3 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-05/0.3632, allocations: 31.62 kB / 479.3 MB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009725/0.3642, allocations: 0.688 MB / 480 MB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.3642, allocations: 11.98 kB / 480 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.3642, allocations: 3.938 kB / 480 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007452/0.365, allocations: 0.8634 MB / 480.9 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.3663, allocations: 1.186 MB / 482.1 MB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3663, allocations: 0 / 482.1 MB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.3666, allocations: 67.91 kB / 482.1 MB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.3682, allocations: 176.5 kB / 482.3 MB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.3682, allocations: 15.94 kB / 482.3 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003044/0.3685, allocations: 0.5679 MB / 482.9 MB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3685, allocations: 0 / 482.9 MB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008737/0.3694, allocations: 0.7408 MB / 483.6 MB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.136e-05/0.3695, allocations: 108.7 kB / 483.7 MB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.3696, allocations: 15.91 kB / 483.7 MB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.3698, allocations: 15.94 kB / 483.8 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.3698, allocations: 28.03 kB / 483.8 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.3699, allocations: 11.98 kB / 483.8 MB, free: 10.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.3701, allocations: 221.9 kB / 484 MB, free: 10.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3701, allocations: 0 / 484 MB, free: 10.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003571/0.3736, allocations: 0.7457 MB / 484.8 MB, free: 9.742 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.03221/0.4059, allocations: 7.575 MB / 492.3 MB, free: 2.129 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.4069, allocations: 0.4898 MB / 492.8 MB, free: 1.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4069, allocations: 0 / 492.8 MB, free: 1.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003852/0.4073, allocations: 216.3 kB / 493 MB, free: 1.414 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.4084, allocations: 197.1 kB / 493.2 MB, free: 1.227 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006994/0.4154, allocations: 4.208 MB / 497.4 MB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.4157, allocations: 0.8047 MB / 498.2 MB, free: 12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003871/0.4161, allocations: 190.9 kB / 498.4 MB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.4163, allocations: 139.3 kB / 498.6 MB, free: 11.68 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4163, allocations: 0 / 498.6 MB, free: 11.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.148/2.564, allocations: 33.48 MB / 0.5196 GB, free: 10.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/2.565, allocations: 211.2 kB / 0.5198 GB, free: 10.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.082/6.647, allocations: 7.188 kB / 0.5198 GB, free: 10.04 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches