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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001465/0.001465, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001673/0.001673, allocations: 209.4 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 230.5 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_IdealGasH2O",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 67.89 kB / 378.5 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2231, allocations: 53.4 MB / 431.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.352/0.575, allocations: 131.2 MB / 0.5499 GB, free: 1.312 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.5769, allocations: 2.256 MB / 0.5521 GB, free: 1.309 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.577, allocations: 2.062 kB / 0.5521 GB, free: 1.309 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.5771, allocations: 25.84 kB / 0.5521 GB, free: 1.309 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000718/0.5778, allocations: 336.1 kB / 0.5524 GB, free: 1.305 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.578, allocations: 61.38 kB / 0.5525 GB, free: 1.301 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.12e-05/0.5781, allocations: 106.6 kB / 0.5526 GB, free: 1.301 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.437e-05/0.5781, allocations: 3.5 kB / 0.5526 GB, free: 1.301 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.099e-05/0.5782, allocations: 49.69 kB / 0.5526 GB, free: 1.301 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.334e-05/0.5783, allocations: 37.5 kB / 0.5527 GB, free: 1.301 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.5783, allocations: 2.688 kB / 0.5527 GB, free: 1.301 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004968/0.5788, allocations: 357.2 kB / 0.553 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.5788, allocations: 14.84 kB / 0.553 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/0.5788, allocations: 32.88 kB / 0.5531 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.5792, allocations: 314.1 kB / 0.5534 GB, free: 1.281 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5792, allocations: 0 / 0.5534 GB, free: 1.281 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.5792, allocations: 3.594 kB / 0.5534 GB, free: 1.281 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.5792, allocations: 0 / 0.5534 GB, free: 1.281 MB / 446.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.0008682/0.5801, allocations: 387.2 kB / 0.5537 GB, free: 16.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.5801, allocations: 8.656 kB / 0.5537 GB, free: 16.98 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.27e-05/0.5801, allocations: 9.422 kB / 0.5538 GB, free: 16.98 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.386e-05/0.5801, allocations: 39.11 kB / 0.5538 GB, free: 16.94 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005773/0.5859, allocations: 465.5 kB / 0.5542 GB, free: 16.93 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.586, allocations: 122.3 kB / 0.5544 GB, free: 16.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.586, allocations: 6.75 kB / 0.5544 GB, free: 16.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-05/0.5861, allocations: 5.469 kB / 0.5544 GB, free: 16.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006736/0.5868, allocations: 299 kB / 0.5547 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.5868, allocations: 4.594 kB / 0.5547 GB, free: 16.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/0.5869, allocations: 3.062 kB / 0.5547 GB, free: 16.76 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.5869, allocations: 6.797 kB / 0.5547 GB, free: 16.76 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007042/0.5876, allocations: 278.5 kB / 0.5549 GB, free: 16.76 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.5878, allocations: 202.5 kB / 0.5551 GB, free: 16.58 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.5881, allocations: 153.4 kB / 0.5553 GB, free: 16.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.5883, allocations: 80.77 kB / 0.5553 GB, free: 16.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.5884, allocations: 0 / 0.5553 GB, free: 16.55 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.5884, allocations: 41.48 kB / 0.5554 GB, free: 16.51 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.122e-06/0.5884, allocations: 1.203 kB / 0.5554 GB, free: 16.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.001979/0.5904, allocations: 0.5814 MB / 0.556 GB, free: 16.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.5904, allocations: 58.44 kB / 0.556 GB, free: 16.38 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.319e-05/0.5905, allocations: 109 kB / 0.5561 GB, free: 16.29 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.5905, allocations: 29.08 kB / 0.5561 GB, free: 16.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.5905, allocations: 91.41 kB / 0.5562 GB, free: 16.17 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.819e-05/0.5906, allocations: 82.95 kB / 0.5563 GB, free: 16.12 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.04e-05/0.5907, allocations: 45.5 kB / 0.5564 GB, free: 16.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5908, allocations: 323.4 kB / 0.5567 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.5911, allocations: 103 kB / 0.5568 GB, free: 15.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.5913, allocations: 100.4 kB / 0.5569 GB, free: 15.79 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/0.5918, allocations: 222.6 kB / 0.5571 GB, free: 15.78 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5918, allocations: 0 / 0.5571 GB, free: 15.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006283/0.5925, allocations: 291.7 kB / 0.5573 GB, free: 15.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.5925, allocations: 5.281 kB / 0.5574 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5925, allocations: 0.875 kB / 0.5574 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.5925, allocations: 6.188 kB / 0.5574 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/0.5929, allocations: 58.83 kB / 0.5574 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.5929, allocations: 1 kB / 0.5574 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.5932, allocations: 15.75 kB / 0.5574 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.5932, allocations: 14.12 kB / 0.5574 GB, free: 15.73 MB / 462.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.0001144/0.5933, allocations: 121.1 kB / 0.5576 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.5934, allocations: 9.953 kB / 0.5576 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008053/0.5942, allocations: 358.7 kB / 0.5579 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.5942, allocations: 8.219 kB / 0.5579 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5942, allocations: 0 / 0.5579 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.5942, allocations: 0 / 0.5579 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.5955, allocations: 0.6704 MB / 0.5586 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5955, allocations: 7.516 kB / 0.5586 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/0.5959, allocations: 57.36 kB / 0.5586 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.5959, allocations: 2.719 kB / 0.5586 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.5959, allocations: 12.55 kB / 0.5586 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.5959, allocations: 0.9062 kB / 0.5587 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.5959, allocations: 6.812 kB / 0.5587 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006862/0.5966, allocations: 413.5 kB / 0.5591 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.643e-05/0.5966, allocations: 16.66 kB / 0.5591 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.5967, allocations: 6.875 kB / 0.5591 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.597, allocations: 12.48 kB / 0.5591 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.597, allocations: 28.72 kB / 0.5591 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.597, allocations: 13.41 kB / 0.5591 GB, free: 15.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.286e-05/0.5971, allocations: 92.16 kB / 0.5592 GB, free: 14.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5971, allocations: 0.9375 kB / 0.5592 GB, free: 14.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003234/0.5974, allocations: 53.56 kB / 0.5593 GB, free: 14.96 MB / 462.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.001088/0.5985, allocations: 0.9624 MB / 0.5602 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006238/0.5991, allocations: 246.3 kB / 0.5604 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5991, allocations: 1 kB / 0.5604 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002915/0.5994, allocations: 128.4 kB / 0.5606 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.5999, allocations: 53.95 kB / 0.5606 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.6029, allocations: 2.109 MB / 0.5627 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.195e-05/0.6029, allocations: 92.11 kB / 0.5628 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002696/0.6032, allocations: 57.34 kB / 0.5628 GB, free: 12.85 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.6034, allocations: 60.91 kB / 0.5629 GB, free: 12.84 MB / 462.1 MB Notification: Performance of SimCode: time 2.8e-07/0.6034, allocations: 0 / 0.5629 GB, free: 12.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.6284, allocations: 6.292 MB / 0.569 GB, free: 11.97 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.6, allocations: 6.516 kB / 0.569 GB, free: 11.96 MB / 462.1 MB " [Timeout remaining time 648] (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 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.925857202033512]