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.001546/0.001546, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001841/0.001841, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.89 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2433, allocations: 50.53 MB / 408.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3487/0.592, allocations: 152.2 MB / 0.5478 GB, free: 1.48 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.5941, allocations: 2.543 MB / 0.5503 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.5941, allocations: 0.8438 kB / 0.5503 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.5943, allocations: 34.78 kB / 0.5503 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007311/0.5951, allocations: 333.7 kB / 0.5506 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.5952, allocations: 61.78 kB / 0.5507 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.998e-05/0.5953, allocations: 110.3 kB / 0.5508 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.5954, allocations: 3.688 kB / 0.5508 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.412e-05/0.5954, allocations: 42.16 kB / 0.5508 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.254e-05/0.5955, allocations: 39.3 kB / 0.5509 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.5955, allocations: 2.062 kB / 0.5509 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005703/0.5961, allocations: 372.3 kB / 0.5512 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.5961, allocations: 12.25 kB / 0.5512 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.5962, allocations: 35.59 kB / 0.5513 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003957/0.5966, allocations: 320.5 kB / 0.5516 GB, free: 1.434 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5966, allocations: 0 / 0.5516 GB, free: 1.434 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.5966, allocations: 0 / 0.5516 GB, free: 1.434 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.5966, allocations: 1.031 kB / 0.5516 GB, free: 1.434 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.0008713/0.5975, allocations: 462.5 kB / 0.552 GB, free: 17.05 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.5975, allocations: 8.094 kB / 0.552 GB, free: 17.05 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.057e-05/0.5976, allocations: 37.94 kB / 0.552 GB, free: 17.01 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005844/0.6034, allocations: 464.7 kB / 0.5525 GB, free: 17 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.6035, allocations: 182.5 kB / 0.5527 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.6036, allocations: 7.531 kB / 0.5527 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-05/0.6036, allocations: 2.156 kB / 0.5527 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006591/0.6043, allocations: 301.3 kB / 0.553 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.6043, allocations: 0 / 0.553 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.6044, allocations: 1.203 kB / 0.553 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.6044, allocations: 3.344 kB / 0.553 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006597/0.6051, allocations: 279.2 kB / 0.5532 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.6053, allocations: 248.8 kB / 0.5535 GB, free: 16.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.6056, allocations: 159.7 kB / 0.5536 GB, free: 16.52 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.6058, allocations: 89.34 kB / 0.5537 GB, free: 16.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.6058, allocations: 12.38 kB / 0.5537 GB, free: 16.51 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.6059, allocations: 34.86 kB / 0.5538 GB, free: 16.47 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/0.6059, allocations: 0.7188 kB / 0.5538 GB, free: 16.47 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.001939/0.6078, allocations: 0.5795 MB / 0.5543 GB, free: 16.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.6079, allocations: 53.28 kB / 0.5544 GB, free: 16.35 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.808e-05/0.6079, allocations: 113.5 kB / 0.5545 GB, free: 16.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.608, allocations: 35.02 kB / 0.5545 GB, free: 16.22 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.608, allocations: 85.27 kB / 0.5546 GB, free: 16.14 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.6081, allocations: 78.56 kB / 0.5547 GB, free: 16.09 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.219e-05/0.6082, allocations: 47.05 kB / 0.5547 GB, free: 16.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.6083, allocations: 321.5 kB / 0.555 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.6085, allocations: 99.06 kB / 0.5551 GB, free: 15.76 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.6088, allocations: 107.3 kB / 0.5552 GB, free: 15.76 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/0.6093, allocations: 225.7 kB / 0.5554 GB, free: 15.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.6093, allocations: 0 / 0.5554 GB, free: 15.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00063/0.6099, allocations: 290 kB / 0.5557 GB, free: 15.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.61, allocations: 7.031 kB / 0.5557 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.61, allocations: 0.6562 kB / 0.5557 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.61, allocations: 9.859 kB / 0.5557 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.6104, allocations: 57.06 kB / 0.5558 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.6104, allocations: 0.9062 kB / 0.5558 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.6107, allocations: 17.06 kB / 0.5558 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.6107, allocations: 9.312 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.00011/0.6109, allocations: 126.5 kB / 0.5559 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.6109, allocations: 10.91 kB / 0.5559 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000789/0.6117, allocations: 353.5 kB / 0.5563 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.6117, allocations: 6.969 kB / 0.5563 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.6117, allocations: 7.641 kB / 0.5563 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.6117, allocations: 0 / 0.5563 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.613, allocations: 0.7289 MB / 0.557 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.613, allocations: 3.594 kB / 0.557 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/0.6134, allocations: 57.53 kB / 0.5571 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.6134, allocations: 5.188 kB / 0.5571 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.6135, allocations: 9.406 kB / 0.5571 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.6135, allocations: 4.609 kB / 0.5571 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6135, allocations: 5.625 kB / 0.5571 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006711/0.6142, allocations: 409.4 kB / 0.5575 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.6142, allocations: 91.2 kB / 0.5576 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.6143, allocations: 4.875 kB / 0.5576 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.6146, allocations: 17.19 kB / 0.5576 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.6146, allocations: 22.77 kB / 0.5576 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.6146, allocations: 14.75 kB / 0.5576 GB, free: 14.88 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.713e-05/0.6147, allocations: 94.8 kB / 0.5577 GB, free: 14.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6147, allocations: 4.031 kB / 0.5577 GB, free: 14.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003482/0.615, allocations: 51.38 kB / 0.5578 GB, free: 14.8 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.001009/0.6161, allocations: 0.9676 MB / 0.5587 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006049/0.6167, allocations: 255.2 kB / 0.5589 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6167, allocations: 0 / 0.5589 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002948/0.617, allocations: 140.4 kB / 0.5591 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.6175, allocations: 58.89 kB / 0.5591 GB, free: 14.07 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.6204, allocations: 2.097 MB / 0.5612 GB, free: 12.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.6207, allocations: 0.7047 MB / 0.5619 GB, free: 12.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002818/0.621, allocations: 54.88 kB / 0.5619 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.6212, allocations: 54.2 kB / 0.562 GB, free: 12.09 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.6212, allocations: 1.062 kB / 0.562 GB, free: 12.09 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.6425, allocations: 5.69 MB / 0.5675 GB, free: 11.59 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.372/8.014, allocations: 15.3 kB / 0.5675 GB, free: 11.58 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