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.0008396/0.0008395, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00096/0.00096, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.178/1.178, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001912/0.0001912, allocations: 8 kB / 307.8 MB, free: 0.7461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07669/0.0769, allocations: 51.52 MB / 359.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1577/0.2347, allocations: 25.78 MB / 385.1 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02214/0.2569, allocations: 25.28 MB / 410.4 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003534/0.2572, allocations: 2.75 kB / 410.4 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007415/0.258, allocations: 242.8 kB / 410.6 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008386/0.2588, allocations: 361.3 kB / 411 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009055/0.2679, allocations: 3.247 MB / 414.2 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.2692, allocations: 1.401 MB / 415.7 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.2694, allocations: 79.56 kB / 415.7 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006569/0.2701, allocations: 328.4 kB / 416 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004636/0.2705, allocations: 315 kB / 416.4 MB, free: 328 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.2706, allocations: 16.69 kB / 416.4 MB, free: 328 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03222/0.3028, allocations: 27.66 MB / 444 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.303, allocations: 87.7 kB / 444.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003311/0.3033, allocations: 232.8 kB / 444.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03788/0.3412, allocations: 20.13 MB / 464.5 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3413, allocations: 0 / 464.5 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3413, allocations: 0 / 464.5 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.3413, allocations: 0 / 464.5 MB, free: 0.8125 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.005216/0.3465, allocations: 1.057 MB / 465.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3465, allocations: 8.031 kB / 465.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.643e-05/0.3466, allocations: 70.53 kB / 465.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004954/0.3471, allocations: 71.52 kB / 465.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.3475, allocations: 322.2 kB / 466 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.3476, allocations: 24.66 kB / 466 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.934e-05/0.3476, allocations: 35.98 kB / 466.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008014/0.3484, allocations: 459.8 kB / 466.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.3484, allocations: 11.92 kB / 466.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.3485, allocations: 16 kB / 466.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.3485, allocations: 19.92 kB / 466.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006742/0.3492, allocations: 382.3 kB / 466.9 MB, free: 14.23 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.00289/0.3521, allocations: 2.945 MB / 469.9 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/0.3527, allocations: 286.8 kB / 470.2 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.3529, allocations: 140.8 kB / 470.3 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002222/0.3551, allocations: 2.529 MB / 472.8 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.3551, allocations: 42.5 kB / 472.9 MB, free: 7.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.3551, allocations: 0 / 472.9 MB, free: 7.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.004718/0.3599, allocations: 1.302 MB / 474.2 MB, free: 6.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.3599, allocations: 55.41 kB / 474.2 MB, free: 6.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.3602, allocations: 262.5 kB / 474.5 MB, free: 5.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.3602, allocations: 29.7 kB / 474.5 MB, free: 5.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3603, allocations: 192 kB / 474.7 MB, free: 5.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.127e-05/0.3604, allocations: 126.2 kB / 474.8 MB, free: 5.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.3605, allocations: 37.7 kB / 474.8 MB, free: 5.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3606, allocations: 346.8 kB / 475.2 MB, free: 5.086 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.3608, allocations: 112.8 kB / 475.3 MB, free: 4.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.361, allocations: 230 kB / 475.5 MB, free: 4.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.3615, allocations: 362 kB / 475.9 MB, free: 4.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3615, allocations: 8 kB / 475.9 MB, free: 4.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000741/0.3622, allocations: 451 kB / 476.3 MB, free: 3.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3622, allocations: 12.03 kB / 476.3 MB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3623, allocations: 4 kB / 476.3 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004358/0.3666, allocations: 233.4 kB / 476.6 MB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.3669, allocations: 95.77 kB / 476.7 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.3681, allocations: 1.84 MB / 478.5 MB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.3683, allocations: 32.27 kB / 478.5 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.3684, allocations: 20 kB / 478.6 MB, free: 1.441 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.0001628/0.3685, allocations: 173.5 kB / 478.7 MB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.3686, allocations: 35.62 kB / 478.8 MB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000898/0.3695, allocations: 0.6889 MB / 479.4 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.3695, allocations: 7.984 kB / 479.5 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.3695, allocations: 4 kB / 479.5 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007472/0.3703, allocations: 0.8557 MB / 480.3 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.3716, allocations: 1.19 MB / 481.5 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3716, allocations: 0 / 481.5 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.3718, allocations: 71.89 kB / 481.6 MB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001496/0.3733, allocations: 172.6 kB / 481.7 MB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.3734, allocations: 16.05 kB / 481.8 MB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002971/0.3737, allocations: 0.5796 MB / 482.3 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3737, allocations: 0 / 482.3 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008393/0.3745, allocations: 0.7328 MB / 483.1 MB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.961e-05/0.3746, allocations: 132.5 kB / 483.2 MB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.3747, allocations: 11.94 kB / 483.2 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.3749, allocations: 24.08 kB / 483.2 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.3749, allocations: 23.97 kB / 483.3 MB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.375, allocations: 8 kB / 483.3 MB, free: 12.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001956/0.3752, allocations: 221.9 kB / 483.5 MB, free: 12.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3752, allocations: 0 / 483.5 MB, free: 12.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003524/0.3787, allocations: 0.7457 MB / 484.2 MB, free: 11.53 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.0313/0.41, allocations: 7.58 MB / 491.8 MB, free: 3.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008456/0.4109, allocations: 481.7 kB / 492.3 MB, free: 3.422 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4109, allocations: 0 / 492.3 MB, free: 3.422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.4113, allocations: 217.1 kB / 492.5 MB, free: 3.211 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.4124, allocations: 196.6 kB / 492.7 MB, free: 3.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006522/0.4189, allocations: 4.264 MB / 496.9 MB, free: 14.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.4192, allocations: 0.8047 MB / 497.8 MB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000379/0.4196, allocations: 182.9 kB / 497.9 MB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.4198, allocations: 139.4 kB / 498.1 MB, free: 13.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4198, allocations: 0 / 498.1 MB, free: 13.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04978/0.4696, allocations: 32.98 MB / 0.5186 GB, free: 12.57 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/0.4698, allocations: 213.4 kB / 0.5188 GB, free: 12.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.826/3.296, allocations: 4 kB / 0.5188 GB, free: 12.3 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