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.001464/0.001464, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001534/0.001534, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 67.88 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2383, allocations: 50.55 MB / 408.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4029/0.6412, allocations: 152.2 MB / 0.5478 GB, free: 1.508 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.6434, allocations: 2.546 MB / 0.5503 GB, free: 1.496 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.6434, allocations: 3.75 kB / 0.5503 GB, free: 1.496 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.6436, allocations: 29.86 kB / 0.5504 GB, free: 1.496 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007/0.6443, allocations: 338.4 kB / 0.5507 GB, free: 1.492 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.6445, allocations: 67.25 kB / 0.5508 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.58e-05/0.6446, allocations: 100.9 kB / 0.5508 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.6446, allocations: 9.359 kB / 0.5509 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.562e-05/0.6447, allocations: 43.92 kB / 0.5509 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.513e-05/0.6448, allocations: 35.69 kB / 0.5509 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.6448, allocations: 2.031 kB / 0.5509 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005943/0.6454, allocations: 372.1 kB / 0.5513 GB, free: 1.484 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.6454, allocations: 10.33 kB / 0.5513 GB, free: 1.484 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.6455, allocations: 40.88 kB / 0.5513 GB, free: 1.484 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004186/0.6459, allocations: 313.6 kB / 0.5516 GB, free: 1.469 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6459, allocations: 0 / 0.5516 GB, free: 1.469 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.6459, allocations: 1.203 kB / 0.5516 GB, free: 1.469 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.6459, allocations: 1.031 kB / 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.0009103/0.6468, allocations: 465.7 kB / 0.5521 GB, free: 17.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.6469, allocations: 8.656 kB / 0.5521 GB, free: 17.07 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.915e-05/0.6469, allocations: 39.52 kB / 0.5521 GB, free: 17.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006068/0.653, allocations: 464.8 kB / 0.5526 GB, free: 17.03 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.6532, allocations: 183.7 kB / 0.5527 GB, free: 16.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.6532, allocations: 8.688 kB / 0.5528 GB, free: 16.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.6533, allocations: 7.031 kB / 0.5528 GB, free: 16.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007153/0.654, allocations: 293.9 kB / 0.553 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.654, allocations: 0 / 0.553 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/0.6541, allocations: 10.2 kB / 0.5531 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.6541, allocations: 1.031 kB / 0.5531 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007496/0.6548, allocations: 279.9 kB / 0.5533 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.6551, allocations: 250.6 kB / 0.5536 GB, free: 16.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.6554, allocations: 162.5 kB / 0.5537 GB, free: 16.55 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.6556, allocations: 85.44 kB / 0.5538 GB, free: 16.54 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.6557, allocations: 8.094 kB / 0.5538 GB, free: 16.54 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.6557, allocations: 33.53 kB / 0.5538 GB, free: 16.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.6557, allocations: 0 / 0.5538 GB, free: 16.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.002031/0.6577, allocations: 0.582 MB / 0.5544 GB, free: 16.44 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.6578, allocations: 58.47 kB / 0.5545 GB, free: 16.38 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.173e-05/0.6579, allocations: 110.4 kB / 0.5546 GB, free: 16.28 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.6579, allocations: 32.17 kB / 0.5546 GB, free: 16.25 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.658, allocations: 83.58 kB / 0.5547 GB, free: 16.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.831e-05/0.658, allocations: 82.83 kB / 0.5548 GB, free: 16.11 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.839e-05/0.6581, allocations: 46.34 kB / 0.5548 GB, free: 16.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6583, allocations: 320.9 kB / 0.5551 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.6586, allocations: 101.2 kB / 0.5552 GB, free: 15.78 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.6589, allocations: 108.5 kB / 0.5553 GB, free: 15.78 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/0.6594, allocations: 225.4 kB / 0.5555 GB, free: 15.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.6594, allocations: 2.234 kB / 0.5555 GB, free: 15.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006648/0.6601, allocations: 290.6 kB / 0.5558 GB, free: 15.72 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.6601, allocations: 7.484 kB / 0.5558 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.6601, allocations: 1 kB / 0.5558 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.6601, allocations: 3.938 kB / 0.5558 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/0.6606, allocations: 54.75 kB / 0.5559 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.6606, allocations: 3.312 kB / 0.5559 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.6608, allocations: 12.83 kB / 0.5559 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.6609, allocations: 15.61 kB / 0.5559 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.0001154/0.661, allocations: 122.6 kB / 0.556 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.6611, allocations: 13.27 kB / 0.556 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008758/0.6619, allocations: 347.6 kB / 0.5564 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.662, allocations: 14.02 kB / 0.5564 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.662, allocations: 2.672 kB / 0.5564 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.662, allocations: 0 / 0.5564 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.6633, allocations: 0.7284 MB / 0.5571 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6634, allocations: 5.188 kB / 0.5571 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003816/0.6637, allocations: 58.39 kB / 0.5571 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.6638, allocations: 3.344 kB / 0.5571 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.6638, allocations: 15.73 kB / 0.5572 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.6638, allocations: 3.406 kB / 0.5572 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.6638, allocations: 3.938 kB / 0.5572 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007289/0.6645, allocations: 407 kB / 0.5576 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.6646, allocations: 92.84 kB / 0.5576 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.6646, allocations: 8.406 kB / 0.5577 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.665, allocations: 14.2 kB / 0.5577 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.665, allocations: 28.23 kB / 0.5577 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.665, allocations: 14.16 kB / 0.5577 GB, free: 14.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.346e-05/0.6651, allocations: 87.52 kB / 0.5578 GB, free: 14.83 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6651, allocations: 0 / 0.5578 GB, free: 14.83 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003306/0.6654, allocations: 54.72 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.001154/0.6666, allocations: 0.9541 MB / 0.5588 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006673/0.6673, allocations: 261.1 kB / 0.559 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6673, allocations: 0.9375 kB / 0.559 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.6676, allocations: 138.7 kB / 0.5592 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.0005155/0.6681, allocations: 59.17 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.003182/0.6713, allocations: 2.109 MB / 0.5613 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.6717, allocations: 0.709 MB / 0.562 GB, free: 12.12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002887/0.672, allocations: 56.27 kB / 0.562 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.6722, allocations: 57.28 kB / 0.5621 GB, free: 12.1 MB / 478.1 MB Notification: Performance of SimCode: time 3.51e-07/0.6722, allocations: 1.625 kB / 0.5621 GB, free: 12.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.6967, allocations: 5.595 MB / 0.5675 GB, free: 11.62 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.77/8.467, allocations: 5.031 kB / 0.5675 GB, free: 11.62 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.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