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.001531/0.001531, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001974/0.001974, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 55.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.232, allocations: 50.53 MB / 408.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.383/0.615, allocations: 152.2 MB / 0.5478 GB, free: 1.48 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.6172, allocations: 2.541 MB / 0.5503 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.777e-05/0.6173, allocations: 2.594 kB / 0.5503 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.6174, allocations: 24.89 kB / 0.5503 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008733/0.6184, allocations: 337.1 kB / 0.5506 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.6185, allocations: 57.75 kB / 0.5507 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.6187, allocations: 110.3 kB / 0.5508 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.785e-05/0.6187, allocations: 5.734 kB / 0.5508 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.401e-05/0.6188, allocations: 42.06 kB / 0.5508 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.651e-05/0.6189, allocations: 41.06 kB / 0.5509 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.6189, allocations: 3.406 kB / 0.5509 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000638/0.6196, allocations: 363.4 kB / 0.5512 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.6196, allocations: 19.33 kB / 0.5512 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.948e-05/0.6196, allocations: 36.64 kB / 0.5513 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.6201, allocations: 321.9 kB / 0.5516 GB, free: 1.438 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6201, allocations: 0.8438 kB / 0.5516 GB, free: 1.438 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6201, allocations: 0 / 0.5516 GB, free: 1.438 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.6201, allocations: 3.812 kB / 0.5516 GB, free: 1.438 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.0009162/0.621, allocations: 458.5 kB / 0.552 GB, free: 17.05 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.6211, allocations: 11.06 kB / 0.552 GB, free: 17.05 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.6211, allocations: 40.45 kB / 0.5521 GB, free: 17.01 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00593/0.627, allocations: 460.6 kB / 0.5525 GB, free: 17 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.6272, allocations: 174.1 kB / 0.5527 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.6272, allocations: 10.41 kB / 0.5527 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.636e-05/0.6273, allocations: 10.92 kB / 0.5527 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007033/0.628, allocations: 291.5 kB / 0.553 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.628, allocations: 5.125 kB / 0.553 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.6281, allocations: 4.844 kB / 0.553 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.6281, allocations: 3.641 kB / 0.553 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007532/0.6289, allocations: 276.6 kB / 0.5532 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/0.6291, allocations: 255.7 kB / 0.5535 GB, free: 16.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.6295, allocations: 161 kB / 0.5536 GB, free: 16.52 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.6297, allocations: 85.45 kB / 0.5537 GB, free: 16.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.6297, allocations: 7.547 kB / 0.5537 GB, free: 16.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.6297, allocations: 34.75 kB / 0.5538 GB, free: 16.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.6297, allocations: 0 / 0.5538 GB, free: 16.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.001989/0.6317, allocations: 0.5823 MB / 0.5543 GB, free: 16.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.6318, allocations: 54.97 kB / 0.5544 GB, free: 16.35 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.368e-05/0.6319, allocations: 110.2 kB / 0.5545 GB, free: 16.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.6319, allocations: 32.86 kB / 0.5545 GB, free: 16.22 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.6319, allocations: 80.58 kB / 0.5546 GB, free: 16.14 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.027e-05/0.632, allocations: 80.11 kB / 0.5547 GB, free: 16.09 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.974e-05/0.6321, allocations: 45.34 kB / 0.5547 GB, free: 16.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.6322, allocations: 327.6 kB / 0.555 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.6325, allocations: 99.34 kB / 0.5551 GB, free: 15.76 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.6328, allocations: 103.4 kB / 0.5552 GB, free: 15.76 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005527/0.6333, allocations: 227.2 kB / 0.5554 GB, free: 15.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.6333, allocations: 0.7812 kB / 0.5554 GB, free: 15.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006645/0.634, allocations: 286 kB / 0.5557 GB, free: 15.71 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.634, allocations: 6.656 kB / 0.5557 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.634, allocations: 2.094 kB / 0.5557 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.6341, allocations: 7.828 kB / 0.5557 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.6345, allocations: 56.72 kB / 0.5558 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.6345, allocations: 8.078 kB / 0.5558 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.6348, allocations: 9.406 kB / 0.5558 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.6348, allocations: 14.41 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.0001012/0.6349, allocations: 125.9 kB / 0.5559 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.635, allocations: 13.84 kB / 0.5559 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008417/0.6358, allocations: 349.6 kB / 0.5563 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.6358, allocations: 7.406 kB / 0.5563 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.6358, allocations: 2.375 kB / 0.5563 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.6359, allocations: 2.953 kB / 0.5563 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.6372, allocations: 0.7329 MB / 0.557 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6372, allocations: 1.094 kB / 0.557 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.6376, allocations: 65.38 kB / 0.5571 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.6376, allocations: 5.125 kB / 0.5571 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.6377, allocations: 13.27 kB / 0.5571 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.6377, allocations: 3.469 kB / 0.5571 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6377, allocations: 3.5 kB / 0.5571 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007029/0.6384, allocations: 410 kB / 0.5575 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.6385, allocations: 88.89 kB / 0.5576 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.6385, allocations: 6.688 kB / 0.5576 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.6388, allocations: 15.25 kB / 0.5576 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.6388, allocations: 22.06 kB / 0.5576 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.6389, allocations: 15.56 kB / 0.5576 GB, free: 14.88 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.194e-05/0.6389, allocations: 90.11 kB / 0.5577 GB, free: 14.81 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6389, allocations: 0 / 0.5577 GB, free: 14.81 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003339/0.6393, allocations: 52 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.001073/0.6404, allocations: 0.9642 MB / 0.5587 GB, free: 14.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006615/0.641, allocations: 259.1 kB / 0.5589 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.641, allocations: 1 kB / 0.5589 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003108/0.6414, allocations: 134.8 kB / 0.5591 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.6419, allocations: 63.73 kB / 0.5591 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.6449, allocations: 2.1 MB / 0.5612 GB, free: 12.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.6451, allocations: 0.705 MB / 0.5619 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000282/0.6454, allocations: 59.59 kB / 0.5619 GB, free: 12.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.6456, allocations: 54.12 kB / 0.562 GB, free: 12.09 MB / 478.1 MB Notification: Performance of SimCode: time 4e-07/0.6456, allocations: 0 / 0.562 GB, free: 12.09 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.676, allocations: 5.701 MB / 0.5675 GB, free: 11.59 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.745/8.421, allocations: 2.75 kB / 0.5676 GB, free: 11.59 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches