Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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.001783/0.001783, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002207/0.002207, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.552/1.552, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2476/0.2476, allocations: 46.95 MB / 360.8 MB, free: 3.93 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 79.88 kB / 0.4961 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3791, allocations: 66.08 MB / 0.5607 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01918/0.3982, allocations: 11.47 MB / 0.5719 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.3998, allocations: 1.222 MB / 0.5731 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.3999, allocations: 0 / 0.5731 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.4001, allocations: 27.83 kB / 0.5731 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006479/0.4066, allocations: 2.208 MB / 0.5753 GB, free: 5.098 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.262e-06/0.4066, allocations: 3.938 kB / 0.5753 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.4067, allocations: 39.73 kB / 0.5753 GB, free: 5.055 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.188e-05/0.4067, allocations: 4 kB / 0.5753 GB, free: 5.051 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.24e-05/0.4068, allocations: 15.98 kB / 0.5753 GB, free: 5.035 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.693e-05/0.4069, allocations: 15.92 kB / 0.5753 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.4069, allocations: 0 / 0.5753 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00697/0.4139, allocations: 3.699 MB / 0.5789 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.4139, allocations: 19.86 kB / 0.579 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.4139, allocations: 11.94 kB / 0.579 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003947/0.4179, allocations: 1.973 MB / 0.5809 GB, free: 15.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.4179, allocations: 0 / 0.5809 GB, free: 15.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4179, allocations: 0 / 0.5809 GB, free: 15.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.4179, allocations: 0 / 0.5809 GB, free: 15.31 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001126/0.419, allocations: 0.4928 MB / 0.5814 GB, free: 14.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.419, allocations: 8.031 kB / 0.5814 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.4191, allocations: 30.75 kB / 0.5814 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.4192, allocations: 16.88 kB / 0.5814 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.4193, allocations: 114.5 kB / 0.5815 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.4193, allocations: 4.375 kB / 0.5815 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.4193, allocations: 4.375 kB / 0.5815 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.4196, allocations: 91.3 kB / 0.5816 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.4196, allocations: 0 / 0.5816 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.4196, allocations: 0 / 0.5816 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.4196, allocations: 0 / 0.5816 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.4198, allocations: 55.83 kB / 0.5817 GB, free: 14.42 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.4202, allocations: 328.1 kB / 0.582 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.4204, allocations: 54.53 kB / 0.5821 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.4204, allocations: 12.8 kB / 0.5821 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01895/0.4394, allocations: 5.687 MB / 0.5876 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.4394, allocations: 34.56 kB / 0.5877 GB, free: 8.238 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.994e-06/0.4394, allocations: 0 / 0.5877 GB, free: 8.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004823/0.4399, allocations: 101.6 kB / 0.5877 GB, free: 8.133 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.4399, allocations: 51.41 kB / 0.5878 GB, free: 8.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.865e-05/0.44, allocations: 109.8 kB / 0.5879 GB, free: 7.953 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.44, allocations: 29.64 kB / 0.5879 GB, free: 7.918 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.4401, allocations: 84.09 kB / 0.588 GB, free: 7.832 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.4401, allocations: 23.83 kB / 0.588 GB, free: 7.809 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.4401, allocations: 21.7 kB / 0.5881 GB, free: 7.781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4403, allocations: 318.7 kB / 0.5884 GB, free: 7.461 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.4403, allocations: 8 kB / 0.5884 GB, free: 7.453 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.187e-05/0.4404, allocations: 30.56 kB / 0.5884 GB, free: 7.414 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.058e-05/0.4404, allocations: 30.7 kB / 0.5884 GB, free: 7.375 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4404, allocations: 8 kB / 0.5884 GB, free: 7.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001104/0.4405, allocations: 69.58 kB / 0.5885 GB, free: 7.293 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4406, allocations: 4 kB / 0.5885 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.4406, allocations: 3.938 kB / 0.5885 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.4406, allocations: 7.984 kB / 0.5885 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.4407, allocations: 11.94 kB / 0.5885 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4407, allocations: 0 / 0.5885 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.542e-05/0.4407, allocations: 7.938 kB / 0.5885 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.4407, allocations: 4 kB / 0.5885 GB, free: 7.254 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 7.78e-05/0.4408, allocations: 113.9 kB / 0.5886 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.4408, allocations: 4 kB / 0.5886 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004488/0.4413, allocations: 391 kB / 0.589 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.4413, allocations: 11.98 kB / 0.589 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4413, allocations: 0 / 0.589 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4413, allocations: 3.938 kB / 0.589 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.4416, allocations: 253.3 kB / 0.5893 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4416, allocations: 0 / 0.5893 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.4416, allocations: 7.984 kB / 0.5893 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.4416, allocations: 4 kB / 0.5893 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.4416, allocations: 4 kB / 0.5893 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4416, allocations: 0 / 0.5893 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.4416, allocations: 0 / 0.5893 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.4419, allocations: 293.7 kB / 0.5896 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.4419, allocations: 27.7 kB / 0.5896 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.442, allocations: 0 / 0.5896 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.773e-05/0.442, allocations: 0 / 0.5896 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.442, allocations: 11.98 kB / 0.5896 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.442, allocations: 3.938 kB / 0.5896 GB, free: 6.074 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.311e-05/0.4421, allocations: 79.7 kB / 0.5897 GB, free: 5.996 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4421, allocations: 4 kB / 0.5897 GB, free: 5.992 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001278/0.4434, allocations: 447.4 kB / 0.5901 GB, free: 5.555 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse1.region3boundary,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002253/0.4456, allocations: 1.288 MB / 0.5914 GB, free: 4.238 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001669/0.4458, allocations: 87.84 kB / 0.5915 GB, free: 4.152 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4458, allocations: 4.125 kB / 0.5915 GB, free: 4.148 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.873e-05/0.4459, allocations: 67.92 kB / 0.5915 GB, free: 4.082 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.4462, allocations: 19.86 kB / 0.5916 GB, free: 4.062 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009814/0.4472, allocations: 470 kB / 0.592 GB, free: 3.559 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.755e-05/0.4472, allocations: 105.7 kB / 0.5921 GB, free: 3.438 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.802e-05/0.4473, allocations: 23.97 kB / 0.5921 GB, free: 3.414 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.4474, allocations: 31.42 kB / 0.5922 GB, free: 3.383 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4474, allocations: 0 / 0.5922 GB, free: 3.383 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0501/0.4975, allocations: 16.17 MB / 0.6079 GB, free: 3.305 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.21, allocations: 0 / 0.6079 GB, free: 3.305 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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: 15.437323676422238]