Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.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.IdealGasH2O,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 203.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 59.89 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2694, allocations: 50.54 MB / 408.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4218/0.6912, allocations: 152.2 MB / 0.5478 GB, free: 1.496 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002811/0.6941, allocations: 2.548 MB / 0.5503 GB, free: 1.48 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.6942, allocations: 0.8438 kB / 0.5503 GB, free: 1.48 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.6944, allocations: 25.48 kB / 0.5503 GB, free: 1.48 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.6956, allocations: 340.9 kB / 0.5506 GB, free: 1.477 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.6958, allocations: 65.42 kB / 0.5507 GB, free: 1.473 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.696, allocations: 101.4 kB / 0.5508 GB, free: 1.473 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.118e-05/0.696, allocations: 6.734 kB / 0.5508 GB, free: 1.473 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.6961, allocations: 47.2 kB / 0.5508 GB, free: 1.473 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.627e-05/0.6962, allocations: 34.5 kB / 0.5509 GB, free: 1.473 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.6962, allocations: 7.141 kB / 0.5509 GB, free: 1.473 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000752/0.697, allocations: 370.1 kB / 0.5512 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.697, allocations: 4.078 kB / 0.5512 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.6971, allocations: 42.98 kB / 0.5513 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006976/0.6978, allocations: 315.4 kB / 0.5516 GB, free: 1.453 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.6978, allocations: 3.406 kB / 0.5516 GB, free: 1.453 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6978, allocations: 0.9688 kB / 0.5516 GB, free: 1.453 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.6978, allocations: 0 / 0.5516 GB, free: 1.453 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.001249/0.6991, allocations: 466.7 kB / 0.552 GB, free: 17.06 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.6991, allocations: 7.688 kB / 0.552 GB, free: 17.06 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.795e-05/0.6992, allocations: 40.55 kB / 0.5521 GB, free: 17.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005843/0.7051, allocations: 466.9 kB / 0.5525 GB, free: 17.01 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.7053, allocations: 182.4 kB / 0.5527 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.7053, allocations: 2.688 kB / 0.5527 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.7054, allocations: 9.438 kB / 0.5527 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007294/0.7062, allocations: 299 kB / 0.553 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.7062, allocations: 1.062 kB / 0.553 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/0.7063, allocations: 0 / 0.553 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.7063, allocations: 4.578 kB / 0.553 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007194/0.707, allocations: 278.4 kB / 0.5533 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.7073, allocations: 248.4 kB / 0.5535 GB, free: 16.56 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/0.7077, allocations: 163 kB / 0.5536 GB, free: 16.54 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.7079, allocations: 90.92 kB / 0.5537 GB, free: 16.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.7079, allocations: 7.5 kB / 0.5537 GB, free: 16.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.708, allocations: 35.53 kB / 0.5538 GB, free: 16.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.803e-06/0.708, allocations: 0 / 0.5538 GB, free: 16.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.002089/0.7101, allocations: 0.5826 MB / 0.5543 GB, free: 16.42 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.7101, allocations: 57.97 kB / 0.5544 GB, free: 16.36 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.7102, allocations: 110 kB / 0.5545 GB, free: 16.26 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.7103, allocations: 30.58 kB / 0.5545 GB, free: 16.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.7103, allocations: 82.67 kB / 0.5546 GB, free: 16.15 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.7104, allocations: 83.53 kB / 0.5547 GB, free: 16.09 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.819e-05/0.7105, allocations: 48.81 kB / 0.5547 GB, free: 16.08 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.7106, allocations: 321.8 kB / 0.555 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.7109, allocations: 101.4 kB / 0.5551 GB, free: 15.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.7112, allocations: 102.4 kB / 0.5552 GB, free: 15.77 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005293/0.7118, allocations: 223.5 kB / 0.5555 GB, free: 15.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.7118, allocations: 0 / 0.5555 GB, free: 15.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006487/0.7124, allocations: 293.2 kB / 0.5557 GB, free: 15.71 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.7124, allocations: 4.812 kB / 0.5557 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7125, allocations: 0.9375 kB / 0.5557 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.7125, allocations: 9.188 kB / 0.5557 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/0.7129, allocations: 53.91 kB / 0.5558 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.713, allocations: 7.312 kB / 0.5558 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.7132, allocations: 13.59 kB / 0.5558 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.7133, allocations: 15.5 kB / 0.5558 GB, free: 15.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (24): * Single equations (assignments): 24 * 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.0001357/0.7134, allocations: 121.9 kB / 0.556 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.7135, allocations: 12.33 kB / 0.556 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008468/0.7143, allocations: 349.7 kB / 0.5563 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.7143, allocations: 7.094 kB / 0.5563 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.7144, allocations: 1.031 kB / 0.5563 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.7144, allocations: 3 kB / 0.5563 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.7158, allocations: 0.7264 MB / 0.557 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.7158, allocations: 2.656 kB / 0.557 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/0.7162, allocations: 62.86 kB / 0.5571 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.7163, allocations: 2.406 kB / 0.5571 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.7163, allocations: 11.72 kB / 0.5571 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.7163, allocations: 4.5 kB / 0.5571 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7163, allocations: 1.156 kB / 0.5571 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007287/0.7171, allocations: 414.9 kB / 0.5575 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.355e-05/0.7171, allocations: 93.42 kB / 0.5576 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.7172, allocations: 4.406 kB / 0.5576 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.7175, allocations: 18.09 kB / 0.5576 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.7176, allocations: 24.3 kB / 0.5576 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.7176, allocations: 17.41 kB / 0.5576 GB, free: 14.89 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.336e-05/0.7177, allocations: 91.53 kB / 0.5577 GB, free: 14.81 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.273e-06/0.7177, allocations: 0 / 0.5577 GB, free: 14.81 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003782/0.7181, allocations: 54.44 kB / 0.5578 GB, free: 14.81 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (26): * Single equations (assignments): 26 * 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.001241/0.7193, allocations: 0.964 MB / 0.5587 GB, free: 14.11 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007001/0.72, allocations: 252.7 kB / 0.559 GB, free: 14.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.7201, allocations: 0 / 0.559 GB, free: 14.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.7204, allocations: 142.5 kB / 0.5591 GB, free: 14.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005729/0.721, allocations: 52.19 kB / 0.5592 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.7243, allocations: 2.114 MB / 0.5612 GB, free: 12.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.7247, allocations: 0.7052 MB / 0.5619 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003301/0.7251, allocations: 60.12 kB / 0.562 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.7253, allocations: 51.03 kB / 0.562 GB, free: 12.09 MB / 478.1 MB Notification: Performance of SimCode: time 8.82e-07/0.7253, allocations: 0 / 0.562 GB, free: 12.09 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.753, allocations: 5.604 MB / 0.5675 GB, free: 11.61 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.149/8.902, allocations: 6.594 kB / 0.5675 GB, free: 11.61 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_trunk_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches