Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001035/0.001036, allocations: 105.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001043, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 59.97 kB / 307 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08508/0.08647, allocations: 50.52 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1744/0.2609, allocations: 37.75 MB / 395.3 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02908/0.29, allocations: 30.65 MB / 426 MB, free: 6.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004281/0.2904, allocations: 10.47 kB / 426 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000942/0.2914, allocations: 401 kB / 426.4 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008944/0.2923, allocations: 0.5212 MB / 426.9 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01303/0.3054, allocations: 5.14 MB / 432 MB, free: 304 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001651/0.307, allocations: 1.355 MB / 433.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003161/0.3074, allocations: 162.7 kB / 433.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000896/0.3083, allocations: 0.5411 MB / 434.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005912/0.3089, allocations: 434.3 kB / 434.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.442e-05/0.309, allocations: 52 kB / 434.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0248/0.3338, allocations: 12.79 MB / 447.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002688/0.3341, allocations: 151.6 kB / 447.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005196/0.3346, allocations: 322.8 kB / 447.8 MB, free: 484 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03912/0.3737, allocations: 14.91 MB / 462.7 MB, free: 1.547 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3738, allocations: 0 / 462.7 MB, free: 1.547 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3738, allocations: 0 / 462.7 MB, free: 1.547 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.427e-05/0.3738, allocations: 4 kB / 462.7 MB, free: 1.543 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.007153/0.381, allocations: 1.419 MB / 464.1 MB, free: 72 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.381, allocations: 8.031 kB / 464.1 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.3812, allocations: 90.59 kB / 464.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006877/0.3819, allocations: 91.33 kB / 464.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.3823, allocations: 385.8 kB / 464.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.3824, allocations: 37 kB / 464.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.113e-05/0.3824, allocations: 44 kB / 464.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.3836, allocations: 0.6315 MB / 465.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.3836, allocations: 4 kB / 465.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.494e-05/0.3836, allocations: 19.94 kB / 465.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.3837, allocations: 12 kB / 465.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009602/0.3846, allocations: 0.5346 MB / 466 MB, free: 14.13 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.003857/0.3885, allocations: 3.815 MB / 469.8 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008612/0.3894, allocations: 411.7 kB / 470.2 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002943/0.3897, allocations: 209.5 kB / 470.4 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003042/0.3927, allocations: 3.455 MB / 473.9 MB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.3928, allocations: 42.94 kB / 473.9 MB, free: 5.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 1.813e-06/0.3928, allocations: 0 / 473.9 MB, free: 5.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.008945/0.4017, allocations: 2.027 MB / 475.9 MB, free: 3.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.4018, allocations: 59.78 kB / 476 MB, free: 3.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.4021, allocations: 312.5 kB / 476.3 MB, free: 2.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.4021, allocations: 33.7 kB / 476.3 MB, free: 2.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.4023, allocations: 232.6 kB / 476.6 MB, free: 2.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.4024, allocations: 185.3 kB / 476.7 MB, free: 2.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.4026, allocations: 118.2 kB / 476.8 MB, free: 2.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.4027, allocations: 346.8 kB / 477.2 MB, free: 1.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.403, allocations: 189.2 kB / 477.4 MB, free: 1.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/0.4034, allocations: 332 kB / 477.7 MB, free: 1.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007443/0.4042, allocations: 0.5451 MB / 478.2 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4042, allocations: 4.812 kB / 478.2 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001201/0.4054, allocations: 0.67 MB / 478.9 MB, free: 15.9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4054, allocations: 10.75 kB / 478.9 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.4054, allocations: 4 kB / 478.9 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008779/0.4142, allocations: 458.2 kB / 479.4 MB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000524/0.4148, allocations: 137.9 kB / 479.5 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.4168, allocations: 3.085 MB / 482.6 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.4171, allocations: 23.92 kB / 482.6 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.4172, allocations: 31.98 kB / 482.7 MB, free: 11.95 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002315/0.4174, allocations: 191.9 kB / 482.8 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.4175, allocations: 43.53 kB / 482.9 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.419, allocations: 1.056 MB / 483.9 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.419, allocations: 7.984 kB / 483.9 MB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.419, allocations: 4 kB / 484 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001193/0.4202, allocations: 1.087 MB / 485 MB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.4223, allocations: 1.74 MB / 486.8 MB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.4224, allocations: 0 / 486.8 MB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/0.4227, allocations: 99.83 kB / 486.9 MB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002857/0.4256, allocations: 356.9 kB / 487.2 MB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.4256, allocations: 15.98 kB / 487.2 MB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006317/0.4263, allocations: 1.144 MB / 488.4 MB, free: 6 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.4263, allocations: 3.984 kB / 488.4 MB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.4276, allocations: 1.127 MB / 489.5 MB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.4278, allocations: 120.7 kB / 489.6 MB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/0.4278, allocations: 19.84 kB / 489.7 MB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.4281, allocations: 15.94 kB / 489.7 MB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.4281, allocations: 40.48 kB / 489.7 MB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/0.4282, allocations: 23.98 kB / 489.7 MB, free: 4.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002392/0.4284, allocations: 251 kB / 490 MB, free: 4.371 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4284, allocations: 0 / 490 MB, free: 4.371 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005099/0.4335, allocations: 0.9605 MB / 490.9 MB, free: 3.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.04222/0.4758, allocations: 9.435 MB / 0.4886 GB, free: 9.934 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.4778, allocations: 0.7435 MB / 0.4894 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.4778, allocations: 0 / 0.4894 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006252/0.4784, allocations: 371.4 kB / 0.4897 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.4799, allocations: 272.4 kB / 0.49 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.4906, allocations: 5.387 MB / 0.4952 GB, free: 2.941 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.4911, allocations: 0.8686 MB / 0.4961 GB, free: 2.043 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006003/0.4917, allocations: 236 kB / 0.4963 GB, free: 1.812 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.4919, allocations: 207.4 kB / 0.4965 GB, free: 1.613 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4919, allocations: 0 / 0.4965 GB, free: 1.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5578/1.05, allocations: 42.01 MB / 0.5375 GB, free: 140.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.37/16.42, allocations: 16.19 kB / 0.5376 GB, free: 140.5 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches