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.001157/0.001157, allocations: 104.8 kB / 17.05 MB, free: 6.027 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.001165/0.001165, allocations: 196 kB / 18 MB, free: 5.105 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.287/1.287, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009893/0.0009893, allocations: 43.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2517, allocations: 49.44 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02698/0.2787, allocations: 26.59 MB / 426.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02774/0.3065, allocations: 24.86 MB / 451.7 MB, free: 5.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005301/0.307, allocations: 7.938 kB / 451.7 MB, free: 5.172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.3081, allocations: 294.3 kB / 452 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009797/0.3092, allocations: 361.9 kB / 452.3 MB, free: 4.527 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01143/0.3206, allocations: 4.007 MB / 456.3 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.3219, allocations: 0.9503 MB / 457.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.3222, allocations: 101 kB / 457.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006011/0.3228, allocations: 398.6 kB / 457.8 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/0.3231, allocations: 306.8 kB / 458.1 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.885e-05/0.3232, allocations: 40 kB / 458.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01783/0.341, allocations: 10.41 MB / 468.5 MB, free: 4.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.3413, allocations: 107.6 kB / 468.6 MB, free: 4.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005739/0.3419, allocations: 227.1 kB / 468.9 MB, free: 3.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02756/0.3695, allocations: 11.48 MB / 480.3 MB, free: 8.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.3695, allocations: 0 / 480.3 MB, free: 8.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3695, allocations: 0 / 480.3 MB, free: 8.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.3695, allocations: 0 / 480.3 MB, free: 8.469 MB / 398.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.006527/0.3761, allocations: 1.15 MB / 481.5 MB, free: 7.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3761, allocations: 8.031 kB / 481.5 MB, free: 7.258 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.432e-05/0.3762, allocations: 70.53 kB / 481.6 MB, free: 7.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005648/0.3768, allocations: 63.59 kB / 481.6 MB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004818/0.3773, allocations: 322.8 kB / 481.9 MB, free: 6.762 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.3773, allocations: 28.66 kB / 482 MB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/0.3774, allocations: 35.94 kB / 482 MB, free: 6.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008607/0.3783, allocations: 459.8 kB / 482.5 MB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.3783, allocations: 7.875 kB / 482.5 MB, free: 6.207 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/0.3783, allocations: 16 kB / 482.5 MB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.3784, allocations: 16 kB / 482.5 MB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000732/0.3791, allocations: 382.3 kB / 482.9 MB, free: 5.801 MB / 398.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.003499/0.3826, allocations: 2.949 MB / 485.8 MB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006224/0.3832, allocations: 286.8 kB / 486.1 MB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.3834, allocations: 132.8 kB / 486.2 MB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00227/0.3857, allocations: 2.474 MB / 488.7 MB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.3858, allocations: 42.55 kB / 488.7 MB, free: 15.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 3.586e-06/0.3858, allocations: 0 / 488.7 MB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005147/0.3909, allocations: 1.285 MB / 490 MB, free: 13.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.391, allocations: 59.41 kB / 490.1 MB, free: 13.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.3913, allocations: 266.5 kB / 490.3 MB, free: 13.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/0.3913, allocations: 33.7 kB / 490.4 MB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3915, allocations: 188.1 kB / 490.6 MB, free: 13.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.53e-05/0.3916, allocations: 122.2 kB / 490.7 MB, free: 13.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.3917, allocations: 82.12 kB / 490.8 MB, free: 13.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3918, allocations: 338.8 kB / 491.1 MB, free: 12.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.392, allocations: 112.8 kB / 491.2 MB, free: 12.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.3923, allocations: 226 kB / 491.4 MB, free: 12.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005015/0.3928, allocations: 373.5 kB / 491.8 MB, free: 11.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3928, allocations: 0 / 491.8 MB, free: 11.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008047/0.3936, allocations: 466.5 kB / 492.2 MB, free: 11.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3937, allocations: 10.5 kB / 492.3 MB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.3937, allocations: 4 kB / 492.3 MB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00502/0.3987, allocations: 237.9 kB / 492.5 MB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.3991, allocations: 87.84 kB / 492.6 MB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.4006, allocations: 1.95 MB / 494.5 MB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.4009, allocations: 8 kB / 494.5 MB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.4009, allocations: 20 kB / 494.6 MB, free: 8.949 MB / 414.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.000203/0.4011, allocations: 165.9 kB / 494.7 MB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.447e-05/0.4012, allocations: 35.64 kB / 494.8 MB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009845/0.4022, allocations: 0.685 MB / 495.4 MB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.4022, allocations: 15.92 kB / 495.5 MB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.4022, allocations: 0 / 495.5 MB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008968/0.4031, allocations: 0.8563 MB / 496.3 MB, free: 7.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.4047, allocations: 1.191 MB / 497.5 MB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.4047, allocations: 4 kB / 497.5 MB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.405, allocations: 67.89 kB / 497.6 MB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/0.4066, allocations: 180.4 kB / 497.7 MB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.4066, allocations: 16 kB / 497.8 MB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004366/0.4071, allocations: 0.568 MB / 498.3 MB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4071, allocations: 3.938 kB / 498.3 MB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000964/0.4081, allocations: 0.7272 MB / 499.1 MB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.4082, allocations: 112.7 kB / 499.2 MB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.63e-05/0.4083, allocations: 16 kB / 499.2 MB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.4085, allocations: 4 kB / 499.2 MB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.4085, allocations: 31.89 kB / 499.2 MB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.4086, allocations: 11.98 kB / 499.2 MB, free: 4.035 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002171/0.4088, allocations: 218 kB / 499.4 MB, free: 3.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4088, allocations: 4 kB / 499.5 MB, free: 3.816 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004502/0.4133, allocations: 0.7379 MB / 0.4885 GB, free: 3.078 MB / 414.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.02585/0.4392, allocations: 7.566 MB / 0.4959 GB, free: 11.47 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.4403, allocations: 487.6 kB / 0.4963 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.4404, allocations: 4.062 kB / 0.4963 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004312/0.4408, allocations: 224.2 kB / 0.4965 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.4419, allocations: 200.4 kB / 0.4967 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007882/0.4498, allocations: 4.014 MB / 0.5006 GB, free: 6.367 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.4502, allocations: 0.8051 MB / 0.5014 GB, free: 5.539 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004502/0.4507, allocations: 187.6 kB / 0.5016 GB, free: 5.359 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.4509, allocations: 135.4 kB / 0.5017 GB, free: 5.227 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4509, allocations: 4 kB / 0.5017 GB, free: 5.223 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06501/0.5159, allocations: 33.88 MB / 0.5348 GB, free: 3.441 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.95, allocations: 6.766 kB / 0.5348 GB, free: 3.438 MB / 462.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