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.001455/0.001455, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001844/0.001844, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 67.88 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2277, 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.3693/0.597, allocations: 152.2 MB / 0.5478 GB, free: 1.512 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.599, allocations: 2.548 MB / 0.5503 GB, free: 1.496 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.942e-05/0.5991, allocations: 1.031 kB / 0.5503 GB, free: 1.496 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.5993, allocations: 28.03 kB / 0.5503 GB, free: 1.496 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000756/0.6, allocations: 343.3 kB / 0.5506 GB, free: 1.492 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.6002, allocations: 66.17 kB / 0.5507 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.625e-05/0.6003, allocations: 102.6 kB / 0.5508 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.652e-05/0.6003, allocations: 3.734 kB / 0.5508 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.101e-05/0.6004, allocations: 50.41 kB / 0.5508 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.448e-05/0.6005, allocations: 34.69 kB / 0.5509 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.6005, allocations: 3.469 kB / 0.5509 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005748/0.6011, allocations: 367.3 kB / 0.5512 GB, free: 1.484 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.6011, allocations: 16.41 kB / 0.5512 GB, free: 1.484 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.6012, allocations: 39.28 kB / 0.5513 GB, free: 1.484 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.6016, allocations: 312.2 kB / 0.5516 GB, free: 1.469 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6016, allocations: 1.031 kB / 0.5516 GB, free: 1.469 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.6016, allocations: 0 / 0.5516 GB, free: 1.469 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.6016, allocations: 0 / 0.5516 GB, free: 1.469 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.0009073/0.6025, allocations: 469.7 kB / 0.552 GB, free: 17.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.6026, allocations: 7.812 kB / 0.552 GB, free: 17.07 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.6026, allocations: 37.94 kB / 0.5521 GB, free: 17.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006365/0.609, allocations: 464.3 kB / 0.5525 GB, free: 17.03 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.6091, allocations: 183.3 kB / 0.5527 GB, free: 16.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.6091, allocations: 6.938 kB / 0.5527 GB, free: 16.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.475e-05/0.6092, allocations: 8.844 kB / 0.5527 GB, free: 16.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006814/0.6099, allocations: 300.7 kB / 0.553 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.6099, allocations: 0.875 kB / 0.553 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/0.61, allocations: 3.594 kB / 0.553 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.61, allocations: 0 / 0.553 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007312/0.6107, allocations: 280.7 kB / 0.5533 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002322/0.611, allocations: 248.4 kB / 0.5535 GB, free: 16.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.6113, allocations: 160.6 kB / 0.5536 GB, free: 16.55 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.6115, allocations: 85.27 kB / 0.5537 GB, free: 16.54 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.6116, allocations: 5.594 kB / 0.5537 GB, free: 16.54 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.6116, allocations: 35.06 kB / 0.5538 GB, free: 16.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.6116, allocations: 0.8125 kB / 0.5538 GB, free: 16.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.00198/0.6136, allocations: 0.5883 MB / 0.5543 GB, free: 16.44 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.6137, allocations: 55.5 kB / 0.5544 GB, free: 16.38 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.793e-05/0.6137, allocations: 106 kB / 0.5545 GB, free: 16.28 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.6138, allocations: 33.23 kB / 0.5545 GB, free: 16.25 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/0.6138, allocations: 88.39 kB / 0.5546 GB, free: 16.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.442e-05/0.6139, allocations: 82.56 kB / 0.5547 GB, free: 16.11 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.68e-05/0.614, allocations: 44.19 kB / 0.5547 GB, free: 16.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.6141, allocations: 324.3 kB / 0.555 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.6144, allocations: 98.23 kB / 0.5551 GB, free: 15.78 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.6147, allocations: 108.9 kB / 0.5552 GB, free: 15.78 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/0.6152, allocations: 224.6 kB / 0.5555 GB, free: 15.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.6152, allocations: 0 / 0.5555 GB, free: 15.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000652/0.6159, allocations: 287.8 kB / 0.5557 GB, free: 15.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.6159, allocations: 5.75 kB / 0.5557 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.6159, allocations: 0.8438 kB / 0.5557 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.6159, allocations: 3.938 kB / 0.5557 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.6164, allocations: 57.7 kB / 0.5558 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6164, allocations: 3.188 kB / 0.5558 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.6167, allocations: 16.73 kB / 0.5558 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/0.6167, allocations: 12.12 kB / 0.5558 GB, free: 15.72 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.0001088/0.6168, allocations: 123.5 kB / 0.5559 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.6169, allocations: 11.42 kB / 0.556 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008279/0.6177, allocations: 356.4 kB / 0.5563 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.6177, allocations: 10.91 kB / 0.5563 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.6177, allocations: 0 / 0.5563 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.6177, allocations: 2.625 kB / 0.5563 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.6191, allocations: 0.7263 MB / 0.557 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6191, allocations: 3.5 kB / 0.557 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.6195, allocations: 58.97 kB / 0.5571 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.6195, allocations: 2.125 kB / 0.5571 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.6195, allocations: 12.58 kB / 0.5571 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.6195, allocations: 5.844 kB / 0.5571 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6195, allocations: 3.188 kB / 0.5571 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000716/0.6203, allocations: 409 kB / 0.5575 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.6203, allocations: 91.64 kB / 0.5576 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.6204, allocations: 9.312 kB / 0.5576 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.6207, allocations: 15.03 kB / 0.5576 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.6207, allocations: 28.95 kB / 0.5576 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.6207, allocations: 13.03 kB / 0.5576 GB, free: 14.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.921e-05/0.6208, allocations: 85.22 kB / 0.5577 GB, free: 14.83 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6208, allocations: 2.281 kB / 0.5577 GB, free: 14.83 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003303/0.6211, allocations: 53.94 kB / 0.5578 GB, free: 14.83 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.001073/0.6222, allocations: 0.9666 MB / 0.5587 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006479/0.6229, allocations: 254.9 kB / 0.559 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6229, allocations: 0.875 kB / 0.559 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.6232, allocations: 142.7 kB / 0.5591 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005161/0.6237, allocations: 56.09 kB / 0.5592 GB, free: 14.11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/0.6268, allocations: 2.105 MB / 0.5612 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.6271, allocations: 0.7088 MB / 0.5619 GB, free: 12.12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000309/0.6274, allocations: 62.61 kB / 0.562 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.6276, allocations: 54.8 kB / 0.562 GB, free: 12.1 MB / 478.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6277, allocations: 0 / 0.562 GB, free: 12.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.6474, allocations: 5.605 MB / 0.5675 GB, free: 11.62 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.472/8.12, allocations: 10.58 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.0.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