Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.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.IdealGasH2O,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O",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.001256/0.001256, allocations: 106.5 kB / 17.06 MB, free: 6.102 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.001233/0.001233, allocations: 193.4 kB / 18 MB, free: 5.172 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.375/1.375, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 43.86 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2165, allocations: 49.44 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.167/0.3835, allocations: 149.2 MB / 0.5366 GB, free: 2.992 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.3864, allocations: 2.53 MB / 0.539 GB, free: 464 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.3864, allocations: 3.938 kB / 0.539 GB, free: 460 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.3866, allocations: 19.91 kB / 0.5391 GB, free: 440 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008617/0.3875, allocations: 322.3 kB / 0.5394 GB, free: 116 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.3877, allocations: 59.73 kB / 0.5394 GB, free: 56 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.2024/0.5901, allocations: 71.5 kB / 0.5395 GB, free: 2.066 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.366e-05/0.5902, allocations: 3.719 kB / 0.5395 GB, free: 2.066 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.5903, allocations: 35.45 kB / 0.5395 GB, free: 2.066 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.925e-05/0.5904, allocations: 27.11 kB / 0.5396 GB, free: 2.066 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.5904, allocations: 1.75 kB / 0.5396 GB, free: 2.066 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009869/0.5914, allocations: 365.9 kB / 0.5399 GB, free: 2.066 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.5915, allocations: 9.203 kB / 0.5399 GB, free: 2.066 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.5915, allocations: 31.86 kB / 0.5399 GB, free: 2.066 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007334/0.5923, allocations: 290.1 kB / 0.5402 GB, free: 2.055 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5923, allocations: 5.828 kB / 0.5402 GB, free: 2.055 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5923, allocations: 0.5938 kB / 0.5402 GB, free: 2.055 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.5923, allocations: 0 / 0.5402 GB, free: 2.055 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001038/0.5933, allocations: 438.1 kB / 0.5406 GB, free: 17.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5934, allocations: 9.25 kB / 0.5407 GB, free: 17.68 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/0.5934, allocations: 38.28 kB / 0.5407 GB, free: 17.64 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006152/0.5996, allocations: 457.3 kB / 0.5411 GB, free: 17.63 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.5998, allocations: 168.9 kB / 0.5413 GB, free: 17.43 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.5998, allocations: 11.12 kB / 0.5413 GB, free: 17.43 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-05/0.5999, allocations: 8.75 kB / 0.5413 GB, free: 17.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000776/0.6007, allocations: 291.9 kB / 0.5416 GB, free: 17.4 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.6007, allocations: 7.281 kB / 0.5416 GB, free: 17.4 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.443e-05/0.6007, allocations: 4.406 kB / 0.5416 GB, free: 17.4 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.6007, allocations: 3.219 kB / 0.5416 GB, free: 17.4 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008704/0.6016, allocations: 271.4 kB / 0.5419 GB, free: 17.4 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000948/0.6026, allocations: 440.6 kB / 0.5423 GB, free: 17.11 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.6036, allocations: 202.3 kB / 0.5425 GB, free: 17.08 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.6038, allocations: 74.77 kB / 0.5425 GB, free: 17.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.6038, allocations: 6.188 kB / 0.5425 GB, free: 17.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.6039, allocations: 34 kB / 0.5426 GB, free: 17.04 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 1.954e-06/0.6039, allocations: 0.625 kB / 0.5426 GB, free: 17.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.001657/0.6055, allocations: 417.1 kB / 0.543 GB, free: 16.99 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.6056, allocations: 57.14 kB / 0.543 GB, free: 16.93 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.602e-05/0.6057, allocations: 102.3 kB / 0.5431 GB, free: 16.83 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.6057, allocations: 29.39 kB / 0.5432 GB, free: 16.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.6058, allocations: 102.3 kB / 0.5433 GB, free: 16.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.6058, allocations: 59.84 kB / 0.5433 GB, free: 16.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.842e-05/0.6059, allocations: 43.52 kB / 0.5434 GB, free: 16.65 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.606, allocations: 320.6 kB / 0.5437 GB, free: 16.34 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.6063, allocations: 78.58 kB / 0.5437 GB, free: 16.34 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.6065, allocations: 121.3 kB / 0.5439 GB, free: 16.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000512/0.6071, allocations: 202.4 kB / 0.544 GB, free: 16.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.6071, allocations: 6.062 kB / 0.5441 GB, free: 16.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00063/0.6077, allocations: 241.7 kB / 0.5443 GB, free: 16.21 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.6077, allocations: 10.59 kB / 0.5443 GB, free: 16.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.6077, allocations: 2.203 kB / 0.5443 GB, free: 16.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.6078, allocations: 2.312 kB / 0.5443 GB, free: 16.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.6081, allocations: 47.73 kB / 0.5443 GB, free: 16.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.6082, allocations: 10.05 kB / 0.5444 GB, free: 16.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.6084, allocations: 16.58 kB / 0.5444 GB, free: 16.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.6084, allocations: 11.34 kB / 0.5444 GB, free: 16.21 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.6086, allocations: 124.1 kB / 0.5445 GB, free: 16.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.6086, allocations: 9.453 kB / 0.5445 GB, free: 16.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007652/0.6094, allocations: 283 kB / 0.5448 GB, free: 16.05 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.6094, allocations: 0.9375 kB / 0.5448 GB, free: 16.05 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6094, allocations: 2.469 kB / 0.5448 GB, free: 16.05 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.6094, allocations: 2.578 kB / 0.5448 GB, free: 16.05 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.6106, allocations: 0.5752 MB / 0.5453 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6106, allocations: 1.062 kB / 0.5453 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/0.6109, allocations: 47.11 kB / 0.5454 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6109, allocations: 3.562 kB / 0.5454 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.611, allocations: 7.062 kB / 0.5454 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.611, allocations: 2.562 kB / 0.5454 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.611, allocations: 5.062 kB / 0.5454 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006207/0.6116, allocations: 334.8 kB / 0.5457 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.6117, allocations: 84 kB / 0.5458 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.6117, allocations: 4 kB / 0.5458 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.612, allocations: 16.48 kB / 0.5458 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.612, allocations: 15.92 kB / 0.5458 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.612, allocations: 12.7 kB / 0.5459 GB, free: 15.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.617e-05/0.6121, allocations: 82.59 kB / 0.5459 GB, free: 15.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6121, allocations: 0 / 0.5459 GB, free: 15.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003266/0.6124, allocations: 44.84 kB / 0.546 GB, free: 15.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001031/0.6135, allocations: 0.8825 MB / 0.5468 GB, free: 14.72 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005856/0.6141, allocations: 202 kB / 0.547 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6141, allocations: 0 / 0.547 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002659/0.6144, allocations: 106.2 kB / 0.5471 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.6148, allocations: 43.53 kB / 0.5472 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008824/0.6157, allocations: 315.1 kB / 0.5475 GB, free: 14.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.616, allocations: 0.6943 MB / 0.5481 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002791/0.6163, allocations: 59.41 kB / 0.5482 GB, free: 13.81 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.6164, allocations: 45.28 kB / 0.5482 GB, free: 13.8 MB / 478.1 MB Notification: Performance of SimCode: time 3.3e-07/0.6164, allocations: 0.6562 kB / 0.5483 GB, free: 13.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.6453, allocations: 4.329 MB / 0.5525 GB, free: 13.39 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/8.392, allocations: 0.8438 kB / 0.5525 GB, free: 13.39 MB / 478.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches