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.001294/0.001294, allocations: 114 kB / 20.43 MB, free: 1.457 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.001434/0.001434, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.387/1.387, allocations: 230.5 MB / 257.4 MB, free: 7.992 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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002926/0.002926, allocations: 59.91 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2527, allocations: 53.4 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3671/0.6198, allocations: 152.7 MB / 0.5702 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.6219, allocations: 2.557 MB / 0.5727 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.858e-05/0.6219, allocations: 2.938 kB / 0.5727 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.622, allocations: 26.97 kB / 0.5727 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008264/0.6229, allocations: 339.1 kB / 0.573 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.623, allocations: 68.78 kB / 0.5731 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.6232, allocations: 99.44 kB / 0.5732 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.6232, allocations: 4.547 kB / 0.5732 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.409e-05/0.6233, allocations: 44.5 kB / 0.5732 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.786e-05/0.6234, allocations: 35.75 kB / 0.5733 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.928e-06/0.6234, allocations: 2.906 kB / 0.5733 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006329/0.624, allocations: 372.9 kB / 0.5736 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.624, allocations: 16.61 kB / 0.5736 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.6241, allocations: 42.53 kB / 0.5737 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.6245, allocations: 317.2 kB / 0.574 GB, free: 12.76 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.6245, allocations: 0 / 0.574 GB, free: 12.76 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.6245, allocations: 2.75 kB / 0.574 GB, free: 12.76 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.6245, allocations: 0 / 0.574 GB, free: 12.76 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.0008402/0.6253, allocations: 386.8 kB / 0.5743 GB, free: 12.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.6254, allocations: 13.47 kB / 0.5744 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.6254, allocations: 39.53 kB / 0.5744 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005704/0.6311, allocations: 465 kB / 0.5748 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.6312, allocations: 120.3 kB / 0.575 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.6312, allocations: 5.031 kB / 0.575 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.776e-05/0.6313, allocations: 9.578 kB / 0.575 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006592/0.632, allocations: 299.5 kB / 0.5753 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.632, allocations: 3.625 kB / 0.5753 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.632, allocations: 0 / 0.5753 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.632, allocations: 2.906 kB / 0.5753 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006876/0.6327, allocations: 274.8 kB / 0.5755 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.633, allocations: 226.8 kB / 0.5757 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.6333, allocations: 155 kB / 0.5759 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.6335, allocations: 81.56 kB / 0.576 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.6336, allocations: 8.578 kB / 0.576 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.6336, allocations: 36.31 kB / 0.576 GB, free: 11.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 3.116e-06/0.6336, allocations: 3.984 kB / 0.576 GB, free: 11.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.001944/0.6355, allocations: 0.5786 MB / 0.5766 GB, free: 11.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.6356, allocations: 58.06 kB / 0.5766 GB, free: 11.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.639e-05/0.6357, allocations: 108 kB / 0.5767 GB, free: 11.72 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.6357, allocations: 29.39 kB / 0.5768 GB, free: 11.69 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/0.6357, allocations: 90.83 kB / 0.5768 GB, free: 11.61 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.941e-05/0.6358, allocations: 84.72 kB / 0.5769 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.469e-05/0.6359, allocations: 42 kB / 0.577 GB, free: 11.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.636, allocations: 324.7 kB / 0.5773 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.6363, allocations: 97.23 kB / 0.5774 GB, free: 11.22 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.6365, allocations: 103.7 kB / 0.5775 GB, free: 11.22 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/0.6371, allocations: 225.6 kB / 0.5777 GB, free: 11.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.6371, allocations: 0 / 0.5777 GB, free: 11.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006305/0.6377, allocations: 289.8 kB / 0.578 GB, free: 11.15 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.6377, allocations: 5.703 kB / 0.578 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.6377, allocations: 5.688 kB / 0.578 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.6377, allocations: 7.875 kB / 0.578 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.6382, allocations: 52.88 kB / 0.578 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.6382, allocations: 2.562 kB / 0.578 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.6384, allocations: 16.02 kB / 0.578 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.6385, allocations: 13.19 kB / 0.5781 GB, free: 11.14 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.0001271/0.6386, allocations: 118.8 kB / 0.5782 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.6386, allocations: 11.86 kB / 0.5782 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008015/0.6394, allocations: 352.8 kB / 0.5785 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.6394, allocations: 7.812 kB / 0.5785 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.6394, allocations: 5.094 kB / 0.5785 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.6394, allocations: 4.25 kB / 0.5785 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.6408, allocations: 0.6922 MB / 0.5792 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6408, allocations: 4.172 kB / 0.5792 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.6412, allocations: 55.62 kB / 0.5793 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.6412, allocations: 7.016 kB / 0.5793 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.6412, allocations: 6.219 kB / 0.5793 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.6412, allocations: 5.031 kB / 0.5793 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6413, allocations: 2.719 kB / 0.5793 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007257/0.642, allocations: 415.8 kB / 0.5797 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.642, allocations: 15.41 kB / 0.5797 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.642, allocations: 5.938 kB / 0.5797 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.6424, allocations: 15.55 kB / 0.5797 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.6424, allocations: 26.16 kB / 0.5797 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.6424, allocations: 25.14 kB / 0.5798 GB, free: 10.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.271e-05/0.6425, allocations: 88.41 kB / 0.5799 GB, free: 10.33 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6425, allocations: 0 / 0.5799 GB, free: 10.33 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003499/0.6428, allocations: 55.16 kB / 0.5799 GB, free: 10.33 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.00117/0.644, allocations: 0.957 MB / 0.5808 GB, free: 9.609 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006493/0.6447, allocations: 245.6 kB / 0.5811 GB, free: 9.594 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.6447, allocations: 0 / 0.5811 GB, free: 9.594 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.645, allocations: 130.1 kB / 0.5812 GB, free: 9.586 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005297/0.6455, allocations: 60.69 kB / 0.5813 GB, free: 9.574 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.6487, allocations: 2.108 MB / 0.5833 GB, free: 8.254 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.649, allocations: 0.7091 MB / 0.584 GB, free: 7.555 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002882/0.6493, allocations: 54.62 kB / 0.5841 GB, free: 7.527 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.6495, allocations: 54.97 kB / 0.5841 GB, free: 7.516 MB / 462.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6495, allocations: 2.906 kB / 0.5841 GB, free: 7.516 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.6811, allocations: 5.902 MB / 0.5899 GB, free: 4.512 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11.23, allocations: 17.59 kB / 0.5899 GB, free: 4.504 MB / 462.1 MB " [Timeout remaining time 649] (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.515796480001882]