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.001148/0.001148, allocations: 114 kB / 17.06 MB, free: 5.992 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.001206/0.001206, allocations: 198.9 kB / 18 MB, free: 5.07 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.261/1.261, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 39.94 kB / 350.8 MB, free: 3.797 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.245, allocations: 49.43 MB / 400.2 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.1457/0.3907, allocations: 149.2 MB / 0.5365 GB, free: 3.031 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002613/0.3934, allocations: 2.526 MB / 0.539 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.3935, allocations: 0 / 0.539 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.3936, allocations: 35.81 kB / 0.539 GB, free: 472 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008611/0.3945, allocations: 310.4 kB / 0.5393 GB, free: 160 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.3947, allocations: 70.92 kB / 0.5394 GB, free: 92 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.3949, allocations: 83.47 kB / 0.5395 GB, free: 8 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.3949, allocations: 3.984 kB / 0.5395 GB, free: 4 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2329/0.6278, allocations: 30.88 kB / 0.5395 GB, free: 2.105 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.976e-05/0.6279, allocations: 23.95 kB / 0.5395 GB, free: 2.105 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.6279, allocations: 2.75 kB / 0.5395 GB, free: 2.105 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009695/0.6289, allocations: 368.2 kB / 0.5399 GB, free: 2.105 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.6289, allocations: 10.06 kB / 0.5399 GB, free: 2.105 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.099e-05/0.629, allocations: 26.2 kB / 0.5399 GB, free: 2.105 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005505/0.6296, allocations: 298.3 kB / 0.5402 GB, free: 2.102 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6296, allocations: 1.062 kB / 0.5402 GB, free: 2.102 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.6296, allocations: 1.219 kB / 0.5402 GB, free: 2.102 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.6296, allocations: 0 / 0.5402 GB, free: 2.102 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.0008916/0.6305, allocations: 438.7 kB / 0.5406 GB, free: 17.73 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.6305, allocations: 13.2 kB / 0.5406 GB, free: 17.73 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/0.6306, allocations: 37.62 kB / 0.5407 GB, free: 17.69 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006102/0.6367, allocations: 455.4 kB / 0.5411 GB, free: 17.68 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.6368, allocations: 168.7 kB / 0.5413 GB, free: 17.48 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.6368, allocations: 11.22 kB / 0.5413 GB, free: 17.48 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.802e-05/0.6369, allocations: 8.656 kB / 0.5413 GB, free: 17.48 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007455/0.6377, allocations: 301.9 kB / 0.5416 GB, free: 17.45 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.6377, allocations: 2.734 kB / 0.5416 GB, free: 17.45 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.6378, allocations: 0.5938 kB / 0.5416 GB, free: 17.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.6378, allocations: 3.281 kB / 0.5416 GB, free: 17.45 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007994/0.6386, allocations: 280.3 kB / 0.5419 GB, free: 17.45 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009544/0.6395, allocations: 417.9 kB / 0.5423 GB, free: 17.17 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009937/0.6405, allocations: 202.6 kB / 0.5425 GB, free: 17.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.6408, allocations: 76.12 kB / 0.5425 GB, free: 17.13 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.6408, allocations: 3.531 kB / 0.5425 GB, free: 17.13 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.6408, allocations: 36.95 kB / 0.5426 GB, free: 17.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 2.364e-06/0.6408, allocations: 1.375 kB / 0.5426 GB, free: 17.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.001617/0.6424, allocations: 421.9 kB / 0.543 GB, free: 17.04 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.6425, allocations: 56.66 kB / 0.543 GB, free: 16.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.557e-05/0.6426, allocations: 99.16 kB / 0.5431 GB, free: 16.88 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.6426, allocations: 31.61 kB / 0.5431 GB, free: 16.85 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.6427, allocations: 93.72 kB / 0.5432 GB, free: 16.76 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.6427, allocations: 56.7 kB / 0.5433 GB, free: 16.72 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.424e-05/0.6428, allocations: 48.36 kB / 0.5433 GB, free: 16.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.823e-05/0.6429, allocations: 320 kB / 0.5436 GB, free: 16.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.6431, allocations: 76.36 kB / 0.5437 GB, free: 16.39 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.6434, allocations: 122.7 kB / 0.5438 GB, free: 16.35 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004586/0.6438, allocations: 200.4 kB / 0.544 GB, free: 16.31 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6439, allocations: 3.938 kB / 0.544 GB, free: 16.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005958/0.6445, allocations: 246.9 kB / 0.5443 GB, free: 16.27 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.6445, allocations: 6.312 kB / 0.5443 GB, free: 16.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.6445, allocations: 3.562 kB / 0.5443 GB, free: 16.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.6445, allocations: 3.328 kB / 0.5443 GB, free: 16.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.6449, allocations: 55.25 kB / 0.5443 GB, free: 16.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.6449, allocations: 2.25 kB / 0.5443 GB, free: 16.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.6452, allocations: 16.58 kB / 0.5443 GB, free: 16.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.6452, allocations: 11.31 kB / 0.5444 GB, free: 16.27 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.0001073/0.6453, allocations: 127 kB / 0.5445 GB, free: 16.15 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.6454, allocations: 4.578 kB / 0.5445 GB, free: 16.15 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007128/0.6461, allocations: 279.3 kB / 0.5447 GB, free: 16.12 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.6461, allocations: 0.5625 kB / 0.5447 GB, free: 16.12 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6461, allocations: 3.688 kB / 0.5448 GB, free: 16.12 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.6461, allocations: 0 / 0.5448 GB, free: 16.12 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.6472, allocations: 0.5778 MB / 0.5453 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6473, allocations: 5.094 kB / 0.5453 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.6476, allocations: 45.42 kB / 0.5454 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.6476, allocations: 3.469 kB / 0.5454 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.6476, allocations: 5.312 kB / 0.5454 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6476, allocations: 6.375 kB / 0.5454 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6477, allocations: 3.938 kB / 0.5454 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.6482, allocations: 326.6 kB / 0.5457 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.6483, allocations: 89.64 kB / 0.5458 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.6483, allocations: 9.078 kB / 0.5458 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.6486, allocations: 11.81 kB / 0.5458 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.6487, allocations: 24.45 kB / 0.5458 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.6487, allocations: 8.547 kB / 0.5458 GB, free: 15.54 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.218e-05/0.6488, allocations: 92.33 kB / 0.5459 GB, free: 15.45 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6488, allocations: 0 / 0.5459 GB, free: 15.45 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.6491, allocations: 45.25 kB / 0.546 GB, free: 15.45 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.0009954/0.6501, allocations: 0.8863 MB / 0.5468 GB, free: 14.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005833/0.6507, allocations: 203.5 kB / 0.547 GB, free: 14.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.6507, allocations: 1.062 kB / 0.547 GB, free: 14.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.651, allocations: 102.2 kB / 0.5471 GB, free: 14.77 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.6515, allocations: 41.81 kB / 0.5472 GB, free: 14.76 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008687/0.6523, allocations: 307.1 kB / 0.5475 GB, free: 14.58 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.6526, allocations: 0.6929 MB / 0.5481 GB, free: 13.88 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002519/0.6528, allocations: 60.33 kB / 0.5482 GB, free: 13.87 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.653, allocations: 40.16 kB / 0.5482 GB, free: 13.86 MB / 478.1 MB Notification: Performance of SimCode: time 2.5e-07/0.653, allocations: 1.062 kB / 0.5482 GB, free: 13.86 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.6762, allocations: 4.387 MB / 0.5525 GB, free: 13.45 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.252/7.928, allocations: 7.984 kB / 0.5525 GB, free: 13.44 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