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.0008299/0.0008299, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001095/0.001095, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9525/0.9525, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2517/0.2517, allocations: 34.24 MB / 294.8 MB, free: 0.6953 MB / 266.7 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 1.753e-06/1.753e-06, allocations: 0 / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.3e-05, allocations: 9.172 kB / 442.1 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.1937/0.1937, allocations: 11.45 MB / 453.6 MB, free: 37.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006672/0.1944, allocations: 1.221 MB / 454.8 MB, free: 37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.287e-05/0.1944, allocations: 2.75 kB / 454.8 MB, free: 37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.1946, allocations: 31.33 kB / 454.8 MB, free: 36.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002443/0.197, allocations: 2.223 MB / 457.1 MB, free: 36.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.598e-06/0.197, allocations: 4 kB / 457.1 MB, free: 36.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.896e-05/0.1971, allocations: 39.52 kB / 457.1 MB, free: 36.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.1971, allocations: 6.188 kB / 457.1 MB, free: 36.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.205e-05/0.1972, allocations: 25.14 kB / 457.1 MB, free: 36.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.155e-05/0.1972, allocations: 5.594 kB / 457.1 MB, free: 36.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.1972, allocations: 6.656 kB / 457.2 MB, free: 36.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.2001, allocations: 3.708 MB / 460.9 MB, free: 35.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.2002, allocations: 10.58 kB / 460.9 MB, free: 35.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.2002, allocations: 6.438 kB / 460.9 MB, free: 35.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.2018, allocations: 2.567 MB / 463.4 MB, free: 34.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2018, allocations: 7.281 kB / 463.5 MB, free: 34.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2018, allocations: 0 / 463.5 MB, free: 34.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.2018, allocations: 0 / 463.5 MB, free: 34.49 MB / 410.7 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.0006051/0.2024, allocations: 494.3 kB / 463.9 MB, free: 34.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.2025, allocations: 13.03 kB / 463.9 MB, free: 34.12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.207e-05/0.2025, allocations: 34.75 kB / 464 MB, free: 34.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.531e-05/0.2026, allocations: 20.28 kB / 464 MB, free: 34.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.997e-05/0.2026, allocations: 109.1 kB / 464.1 MB, free: 33.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.2026, allocations: 7.562 kB / 464.1 MB, free: 33.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-06/0.2026, allocations: 384 / 464.1 MB, free: 33.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.2028, allocations: 91.53 kB / 464.2 MB, free: 33.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.2029, allocations: 192 / 464.2 MB, free: 33.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.2029, allocations: 3.938 kB / 464.2 MB, free: 33.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.2029, allocations: 3.094 kB / 464.2 MB, free: 33.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.533e-05/0.203, allocations: 52.59 kB / 464.3 MB, free: 33.86 MB / 410.7 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.0003049/0.2033, allocations: 320.1 kB / 464.6 MB, free: 33.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.691e-05/0.2034, allocations: 53.81 kB / 464.6 MB, free: 33.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.261e-05/0.2034, allocations: 22.48 kB / 464.6 MB, free: 33.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008911/0.2123, allocations: 5.667 MB / 470.3 MB, free: 32.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.2123, allocations: 34.2 kB / 470.4 MB, free: 32.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.2123, allocations: 0 / 470.4 MB, free: 32.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002898/0.2126, allocations: 107.9 kB / 470.5 MB, free: 32.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.2126, allocations: 54.53 kB / 470.5 MB, free: 32.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.911e-05/0.2127, allocations: 100.2 kB / 470.6 MB, free: 32.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.2127, allocations: 28.7 kB / 470.6 MB, free: 32.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.243e-05/0.2127, allocations: 88.09 kB / 470.7 MB, free: 32.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.297e-06/0.2127, allocations: 14.94 kB / 470.7 MB, free: 32.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.2127, allocations: 20.33 kB / 470.8 MB, free: 32.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.007e-05/0.2128, allocations: 326.1 kB / 471.1 MB, free: 32.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.2128, allocations: 3.281 kB / 471.1 MB, free: 32.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.136e-05/0.2128, allocations: 30.52 kB / 471.1 MB, free: 32.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.783e-05/0.2128, allocations: 40.52 kB / 471.1 MB, free: 31.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2129, allocations: 0 / 471.1 MB, free: 31.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.564e-05/0.2129, allocations: 66.06 kB / 471.2 MB, free: 31.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.2129, allocations: 3.188 kB / 471.2 MB, free: 31.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2129, allocations: 11.75 kB / 471.2 MB, free: 31.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2129, allocations: 0 / 471.2 MB, free: 31.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.925e-05/0.213, allocations: 12.77 kB / 471.2 MB, free: 31.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.213, allocations: 0 / 471.2 MB, free: 31.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.221e-05/0.213, allocations: 7.016 kB / 471.2 MB, free: 31.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.213, allocations: 3.062 kB / 471.2 MB, free: 31.93 MB / 410.7 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 4.523e-05/0.2131, allocations: 115.9 kB / 471.4 MB, free: 31.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.2131, allocations: 3.188 kB / 471.4 MB, free: 31.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.2133, allocations: 402.8 kB / 471.8 MB, free: 31.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.2133, allocations: 3.281 kB / 471.8 MB, free: 31.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2133, allocations: 0 / 471.8 MB, free: 31.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2133, allocations: 3.938 kB / 471.8 MB, free: 31.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.2135, allocations: 270.2 kB / 472 MB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2135, allocations: 0 / 472 MB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.509e-05/0.2135, allocations: 6.156 kB / 472 MB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.2135, allocations: 1.5 kB / 472 MB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.2135, allocations: 3 kB / 472 MB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.2135, allocations: 5.969 kB / 472 MB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2135, allocations: 4 kB / 472 MB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.2136, allocations: 288 kB / 472.3 MB, free: 31.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.2136, allocations: 22.11 kB / 472.4 MB, free: 31.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.487e-06/0.2136, allocations: 7.062 kB / 472.4 MB, free: 31.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.626e-05/0.2137, allocations: 0 / 472.4 MB, free: 31.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.2137, allocations: 7.078 kB / 472.4 MB, free: 31.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.2137, allocations: 3.156 kB / 472.4 MB, free: 31.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.24e-05/0.2137, allocations: 78.69 kB / 472.4 MB, free: 31.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2137, allocations: 0 / 472.4 MB, free: 31.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005713/0.2143, allocations: 449.5 kB / 472.9 MB, free: 31.01 MB / 410.7 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.001278/0.2155, allocations: 1.352 MB / 474.2 MB, free: 30.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.748e-05/0.2156, allocations: 90.33 kB / 474.3 MB, free: 30.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.2156, allocations: 0 / 474.3 MB, free: 30.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.096e-05/0.2157, allocations: 63.25 kB / 474.4 MB, free: 30.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.2159, allocations: 23.61 kB / 474.4 MB, free: 30.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006531/0.2165, allocations: 473.7 kB / 474.9 MB, free: 29.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.683e-05/0.2166, allocations: 93.42 kB / 475 MB, free: 29.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.191e-05/0.2167, allocations: 32.31 kB / 475 MB, free: 29.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.2167, allocations: 33.91 kB / 475 MB, free: 29.71 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2167, allocations: 0 / 475 MB, free: 29.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0391/0.2558, allocations: 16.34 MB / 491.4 MB, free: 25.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.217/7.472, allocations: 5.969 kB / 491.4 MB, free: 25.26 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins/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: 9.643993757665157]