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.001358/0.001358, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001512/0.001512, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.521/1.521, allocations: 230.4 MB / 254 MB, free: 15.03 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.23/0.23, allocations: 46.92 MB / 357 MB, free: 10.19 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.002348/0.002348, allocations: 79.86 kB / 0.4909 GB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1448, allocations: 66.05 MB / 0.5554 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01746/0.1623, allocations: 12.55 MB / 0.5677 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.164, allocations: 1.401 MB / 0.5691 GB, free: 7.555 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.164, allocations: 0 / 0.5691 GB, free: 7.555 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.1642, allocations: 39.8 kB / 0.5691 GB, free: 7.516 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006958/0.1712, allocations: 2.22 MB / 0.5713 GB, free: 5.297 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.853e-06/0.1712, allocations: 0 / 0.5713 GB, free: 5.297 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.1713, allocations: 43.67 kB / 0.5713 GB, free: 5.254 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/0.1714, allocations: 7.938 kB / 0.5713 GB, free: 5.246 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.173e-05/0.1715, allocations: 19.91 kB / 0.5713 GB, free: 5.227 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.98e-05/0.1715, allocations: 15.94 kB / 0.5714 GB, free: 5.211 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.1715, allocations: 0 / 0.5714 GB, free: 5.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007357/0.1789, allocations: 3.847 MB / 0.5751 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.1789, allocations: 7.922 kB / 0.5751 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.954e-05/0.179, allocations: 15.94 kB / 0.5751 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004321/0.1833, allocations: 1.984 MB / 0.5771 GB, free: 15.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1833, allocations: 4 kB / 0.5771 GB, free: 15.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1833, allocations: 4 kB / 0.5771 GB, free: 15.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1833, allocations: 0 / 0.5771 GB, free: 15.34 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001476/0.1848, allocations: 0.5642 MB / 0.5776 GB, free: 14.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1848, allocations: 12.03 kB / 0.5776 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.489e-05/0.1849, allocations: 30.75 kB / 0.5777 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.185, allocations: 20.88 kB / 0.5777 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.1852, allocations: 164.3 kB / 0.5778 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1852, allocations: 384 / 0.5778 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.1852, allocations: 8.312 kB / 0.5779 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.1855, allocations: 99.28 kB / 0.578 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.1855, allocations: 0 / 0.578 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1855, allocations: 0 / 0.578 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1855, allocations: 4 kB / 0.578 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.1856, allocations: 47.89 kB / 0.578 GB, free: 14.29 MB / 446.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.0004908/0.1861, allocations: 361 kB / 0.5783 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.1863, allocations: 54.55 kB / 0.5784 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.1864, allocations: 8.859 kB / 0.5784 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02326/0.2096, allocations: 10.42 MB / 0.5886 GB, free: 2.207 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/0.2097, allocations: 34.56 kB / 0.5886 GB, free: 2.164 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 2.274e-06/0.2097, allocations: 3.938 kB / 0.5886 GB, free: 2.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005041/0.2102, allocations: 105.8 kB / 0.5887 GB, free: 2.051 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.2102, allocations: 51.41 kB / 0.5888 GB, free: 1.988 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.2103, allocations: 105.8 kB / 0.5889 GB, free: 1.875 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.2103, allocations: 25.7 kB / 0.5889 GB, free: 1.844 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.2104, allocations: 92.09 kB / 0.589 GB, free: 1.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.2104, allocations: 23.81 kB / 0.589 GB, free: 1.727 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.2105, allocations: 25.72 kB / 0.589 GB, free: 1.695 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2106, allocations: 314.8 kB / 0.5893 GB, free: 1.379 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.576e-05/0.2107, allocations: 11.98 kB / 0.5893 GB, free: 1.367 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.507e-05/0.2107, allocations: 26.58 kB / 0.5894 GB, free: 1.332 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.812e-05/0.2108, allocations: 42.52 kB / 0.5894 GB, free: 1.281 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2108, allocations: 128 / 0.5894 GB, free: 1.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001245/0.2109, allocations: 65.61 kB / 0.5895 GB, free: 1.211 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2109, allocations: 4 kB / 0.5895 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.2109, allocations: 0 / 0.5895 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2109, allocations: 4 kB / 0.5895 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-05/0.211, allocations: 15.94 kB / 0.5895 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.211, allocations: 0 / 0.5895 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.569e-05/0.2111, allocations: 11.89 kB / 0.5895 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.2111, allocations: 0 / 0.5895 GB, free: 1.176 MB / 446.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 0.0001098/0.2112, allocations: 125.8 kB / 0.5896 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.2112, allocations: 0 / 0.5896 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004799/0.2117, allocations: 375.5 kB / 0.59 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.2117, allocations: 4 kB / 0.59 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.2117, allocations: 0 / 0.59 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.2117, allocations: 7.922 kB / 0.59 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/0.2121, allocations: 282.2 kB / 0.5903 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2121, allocations: 3.938 kB / 0.5903 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/0.2121, allocations: 8 kB / 0.5903 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.2121, allocations: 3.984 kB / 0.5903 GB, free: 324 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.2121, allocations: 3.938 kB / 0.5903 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.2121, allocations: 4 kB / 0.5903 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2121, allocations: 0 / 0.5903 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.2124, allocations: 281.7 kB / 0.5906 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2801/0.4925, allocations: 90.84 kB / 0.5906 GB, free: 36.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.4926, allocations: 1.5 kB / 0.5906 GB, free: 36.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.4926, allocations: 1.156 kB / 0.5906 GB, free: 36.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.4927, allocations: 4.438 kB / 0.5906 GB, free: 36.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.4927, allocations: 6.453 kB / 0.5907 GB, free: 36.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.43e-05/0.4927, allocations: 81.33 kB / 0.5907 GB, free: 36.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4927, allocations: 0 / 0.5907 GB, free: 36.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001628/0.4944, allocations: 451.1 kB / 0.5912 GB, free: 36.69 MB / 446.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.002909/0.4973, allocations: 1.275 MB / 0.5924 GB, free: 36.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.4975, allocations: 82.33 kB / 0.5925 GB, free: 36.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4975, allocations: 1.094 kB / 0.5925 GB, free: 36.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.504e-05/0.4976, allocations: 60.5 kB / 0.5925 GB, free: 36.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.4979, allocations: 24.97 kB / 0.5926 GB, free: 36.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.4993, allocations: 461.3 kB / 0.593 GB, free: 35.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.4995, allocations: 0.7103 MB / 0.5937 GB, free: 35.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.4996, allocations: 25.94 kB / 0.5937 GB, free: 35.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.4997, allocations: 28.95 kB / 0.5938 GB, free: 35.09 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4997, allocations: 1.375 kB / 0.5938 GB, free: 35.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05955/0.5592, allocations: 15.65 MB / 0.609 GB, free: 30.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.48/9.039, allocations: 7.312 kB / 0.609 GB, free: 30.48 MB / 446.1 MB " [Timeout remaining time 651] (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: 12.239729217952117]