Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_0_0_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.0007153/0.0007154, allocations: 90.08 kB / 16.65 MB, free: 6.535 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.0007511/0.0007511, allocations: 177.7 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.177/1.177, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002093/0.0002093, allocations: 8 kB / 301.5 MB, free: 6.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07453/0.07476, allocations: 50.41 MB / 351.9 MB, free: 3.621 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1548/0.2296, allocations: 25.69 MB / 377.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02012/0.2497, allocations: 25.23 MB / 402.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.2502, allocations: 4.219 kB / 402.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006784/0.2509, allocations: 249 kB / 403.1 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000713/0.2516, allocations: 360.9 kB / 403.5 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00939/0.261, allocations: 3.237 MB / 406.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.2625, allocations: 1.401 MB / 408.1 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.2627, allocations: 85.45 kB / 408.2 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006308/0.2633, allocations: 330.2 kB / 408.5 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004627/0.2638, allocations: 315 kB / 408.8 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.314e-05/0.2639, allocations: 16.5 kB / 408.8 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03286/0.2967, allocations: 27.65 MB / 436.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.2969, allocations: 83.7 kB / 436.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003335/0.2972, allocations: 232.8 kB / 436.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03808/0.3353, allocations: 20.12 MB / 456.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3354, allocations: 0 / 456.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3354, allocations: 0 / 456.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.3354, allocations: 0 / 456.9 MB, free: 10.73 MB / 366.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.005289/0.3407, allocations: 1.057 MB / 458 MB, free: 9.625 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3407, allocations: 12.03 kB / 458 MB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.974e-05/0.3408, allocations: 70.53 kB / 458 MB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004835/0.3413, allocations: 67.53 kB / 458.1 MB, free: 9.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.3417, allocations: 326.2 kB / 458.4 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.3417, allocations: 20.66 kB / 458.4 MB, free: 9.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/0.3418, allocations: 36 kB / 458.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/0.3426, allocations: 459.8 kB / 458.9 MB, free: 8.566 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.3426, allocations: 11.92 kB / 458.9 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.3427, allocations: 12 kB / 459 MB, free: 8.543 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.3427, allocations: 11.94 kB / 459 MB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006702/0.3434, allocations: 394.3 kB / 459.4 MB, free: 8.148 MB / 366.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.002931/0.3463, allocations: 2.937 MB / 462.3 MB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005761/0.3469, allocations: 290.7 kB / 462.6 MB, free: 4.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.3471, allocations: 133.5 kB / 462.7 MB, free: 4.547 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002212/0.3493, allocations: 2.54 MB / 465.2 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.3493, allocations: 38.5 kB / 465.3 MB, free: 1.461 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.3494, allocations: 4 kB / 465.3 MB, free: 1.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.004671/0.354, allocations: 1.302 MB / 466.6 MB, free: 80 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.3541, allocations: 51.41 kB / 466.6 MB, free: 16 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.3543, allocations: 262.5 kB / 466.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.3544, allocations: 37.69 kB / 466.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.3545, allocations: 188.1 kB / 467.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.342e-05/0.3546, allocations: 126.1 kB / 467.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.276e-05/0.3546, allocations: 41.69 kB / 467.3 MB, free: 15.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3547, allocations: 334.8 kB / 467.6 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.3549, allocations: 120.8 kB / 467.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.3552, allocations: 226 kB / 467.9 MB, free: 14.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.3556, allocations: 378.5 kB / 468.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3556, allocations: 0 / 468.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007335/0.3564, allocations: 458.6 kB / 468.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3564, allocations: 4 kB / 468.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3564, allocations: 4.438 kB / 468.8 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004457/0.3609, allocations: 241.4 kB / 469 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.3612, allocations: 91.78 kB / 469.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.3624, allocations: 1.84 MB / 470.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.3626, allocations: 32.2 kB / 471 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.3627, allocations: 23.98 kB / 471 MB, free: 11.36 MB / 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.0001597/0.3628, allocations: 165.6 kB / 471.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.802e-05/0.3629, allocations: 35.62 kB / 471.2 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009348/0.3638, allocations: 0.6814 MB / 471.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.3638, allocations: 4 kB / 471.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.3639, allocations: 4 kB / 471.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007492/0.3646, allocations: 0.8671 MB / 472.7 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.3659, allocations: 1.186 MB / 473.9 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3659, allocations: 0 / 473.9 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.3662, allocations: 63.91 kB / 474 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00154/0.3677, allocations: 184.5 kB / 474.2 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.3677, allocations: 8 kB / 474.2 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003078/0.3681, allocations: 0.5757 MB / 474.8 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3681, allocations: 4.094 kB / 474.8 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008348/0.3689, allocations: 0.7374 MB / 475.5 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.738e-05/0.369, allocations: 132.6 kB / 475.6 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.3691, allocations: 11.94 kB / 475.6 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.3693, allocations: 23.98 kB / 475.7 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.3693, allocations: 23.97 kB / 475.7 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.3693, allocations: 15.98 kB / 475.7 MB, free: 6.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002012/0.3695, allocations: 214 kB / 475.9 MB, free: 6.199 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3696, allocations: 0 / 475.9 MB, free: 6.199 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003295/0.3729, allocations: 0.7379 MB / 476.6 MB, free: 5.461 MB / 382.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.03117/0.404, allocations: 7.578 MB / 484.2 MB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008803/0.4049, allocations: 490 kB / 484.7 MB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.405, allocations: 0 / 484.7 MB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003566/0.4053, allocations: 218.7 kB / 484.9 MB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.4064, allocations: 187.6 kB / 485.1 MB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006509/0.413, allocations: 4.272 MB / 489.4 MB, free: 8.508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.4133, allocations: 0.8047 MB / 490.2 MB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003736/0.4137, allocations: 187.9 kB / 490.4 MB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.4139, allocations: 135.4 kB / 490.5 MB, free: 7.363 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4139, allocations: 0 / 490.5 MB, free: 7.363 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.296/2.71, allocations: 32.94 MB / 0.5112 GB, free: 6.562 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/2.71, allocations: 211.4 kB / 0.5114 GB, free: 6.309 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.657/6.367, allocations: 0 / 0.5114 GB, free: 6.309 MB / 430.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches