Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008582/0.0008582, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9042/0.9042, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2447/0.2447, allocations: 34.25 MB / 294.9 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 442.2 MB, free: 1.703 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.98e-05, allocations: 2.281 kB / 442.2 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.1833/0.1833, allocations: 11.45 MB / 453.6 MB, free: 37.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006697/0.184, allocations: 1.224 MB / 454.8 MB, free: 37.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.644e-05/0.184, allocations: 0 / 454.8 MB, free: 37.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.1842, allocations: 38.72 kB / 454.9 MB, free: 37.06 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003646/0.1878, allocations: 2.227 MB / 457.1 MB, free: 36.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.829e-06/0.1878, allocations: 0 / 457.1 MB, free: 36.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.492e-05/0.1879, allocations: 48.48 kB / 457.1 MB, free: 36.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.017e-05/0.188, allocations: 3.5 kB / 457.1 MB, free: 36.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.289e-05/0.188, allocations: 18.56 kB / 457.2 MB, free: 36.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.313e-05/0.1881, allocations: 15.88 kB / 457.2 MB, free: 36.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.1881, allocations: 0 / 457.2 MB, free: 36.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003866/0.1919, allocations: 3.707 MB / 460.9 MB, free: 35.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.192, allocations: 7.328 kB / 460.9 MB, free: 35.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.192, allocations: 10.47 kB / 460.9 MB, free: 35.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002671/0.1947, allocations: 2.568 MB / 463.5 MB, free: 34.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.1947, allocations: 0 / 463.5 MB, free: 34.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1947, allocations: 0 / 463.5 MB, free: 34.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1947, allocations: 0 / 463.5 MB, free: 34.56 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.0009299/0.1956, allocations: 0.4898 MB / 464 MB, free: 34.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.1957, allocations: 13.56 kB / 464 MB, free: 34.19 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.628e-05/0.1957, allocations: 38.22 kB / 464 MB, free: 34.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.962e-05/0.1958, allocations: 11.95 kB / 464 MB, free: 34.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.114e-05/0.1958, allocations: 109 kB / 464.1 MB, free: 34.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.1958, allocations: 384 / 464.1 MB, free: 34.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.1959, allocations: 7.531 kB / 464.1 MB, free: 34.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.196, allocations: 90.56 kB / 464.2 MB, free: 33.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.196, allocations: 192 / 464.2 MB, free: 33.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.196, allocations: 3.938 kB / 464.2 MB, free: 33.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.196, allocations: 7.156 kB / 464.2 MB, free: 33.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.027e-05/0.1961, allocations: 45.59 kB / 464.3 MB, free: 33.93 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.0003164/0.1965, allocations: 331.7 kB / 464.6 MB, free: 33.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.1966, allocations: 56.81 kB / 464.7 MB, free: 33.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.194e-05/0.1966, allocations: 15.05 kB / 464.7 MB, free: 33.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009458/0.206, allocations: 5.673 MB / 470.3 MB, free: 32.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.2061, allocations: 33.41 kB / 470.4 MB, free: 32.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.054e-06/0.2061, allocations: 2.344 kB / 470.4 MB, free: 32.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.000331/0.2064, allocations: 110.1 kB / 470.5 MB, free: 32.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.2064, allocations: 54.83 kB / 470.5 MB, free: 32.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.138e-05/0.2065, allocations: 96.3 kB / 470.6 MB, free: 32.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.981e-06/0.2065, allocations: 29.7 kB / 470.7 MB, free: 32.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.605e-05/0.2065, allocations: 90.5 kB / 470.8 MB, free: 32.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.288e-06/0.2065, allocations: 11.84 kB / 470.8 MB, free: 32.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.2065, allocations: 20.5 kB / 470.8 MB, free: 32.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.816e-05/0.2066, allocations: 330.2 kB / 471.1 MB, free: 32.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.2066, allocations: 6.031 kB / 471.1 MB, free: 32.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.035e-05/0.2066, allocations: 27.56 kB / 471.1 MB, free: 32.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.277e-05/0.2067, allocations: 38.73 kB / 471.2 MB, free: 32.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2067, allocations: 0 / 471.2 MB, free: 32.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.147e-05/0.2067, allocations: 69.38 kB / 471.2 MB, free: 32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2067, allocations: 6.281 kB / 471.3 MB, free: 32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2067, allocations: 0 / 471.3 MB, free: 32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2068, allocations: 4.062 kB / 471.3 MB, free: 32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.586e-05/0.2068, allocations: 9.844 kB / 471.3 MB, free: 32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2068, allocations: 0.5469 kB / 471.3 MB, free: 32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.2068, allocations: 7.203 kB / 471.3 MB, free: 31.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.2068, allocations: 5.781 kB / 471.3 MB, free: 31.99 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.077e-05/0.2069, allocations: 120.6 kB / 471.4 MB, free: 31.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.2069, allocations: 0 / 471.4 MB, free: 31.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.2071, allocations: 388.7 kB / 471.8 MB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.2071, allocations: 6.328 kB / 471.8 MB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2072, allocations: 5.125 kB / 471.8 MB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2072, allocations: 0 / 471.8 MB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.2073, allocations: 265.4 kB / 472 MB, free: 31.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2073, allocations: 0 / 472 MB, free: 31.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.2073, allocations: 5.688 kB / 472.1 MB, free: 31.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2073, allocations: 0 / 472.1 MB, free: 31.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.2073, allocations: 0 / 472.1 MB, free: 31.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2073, allocations: 1.312 kB / 472.1 MB, free: 31.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.2073, allocations: 10.03 kB / 472.1 MB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.2075, allocations: 282.5 kB / 472.3 MB, free: 31.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.2075, allocations: 24.75 kB / 472.4 MB, free: 31.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.2075, allocations: 4 kB / 472.4 MB, free: 31.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.814e-05/0.2075, allocations: 5.781 kB / 472.4 MB, free: 31.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.2075, allocations: 6.172 kB / 472.4 MB, free: 31.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.2075, allocations: 0 / 472.4 MB, free: 31.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.119e-05/0.2076, allocations: 78.56 kB / 472.5 MB, free: 31.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2076, allocations: 0 / 472.5 MB, free: 31.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009565/0.2085, allocations: 454 kB / 472.9 MB, free: 31.09 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.001628/0.2101, allocations: 1.357 MB / 474.3 MB, free: 30.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.2103, allocations: 86.69 kB / 474.3 MB, free: 30.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2103, allocations: 3.938 kB / 474.3 MB, free: 30.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.063e-05/0.2103, allocations: 64.59 kB / 474.4 MB, free: 30.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.2106, allocations: 18.25 kB / 474.4 MB, free: 30.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006759/0.2113, allocations: 477.9 kB / 474.9 MB, free: 29.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.761e-05/0.2113, allocations: 101.8 kB / 475 MB, free: 29.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.709e-05/0.2114, allocations: 25.3 kB / 475 MB, free: 29.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.2114, allocations: 33.84 kB / 475 MB, free: 29.79 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.2114, allocations: 0 / 475 MB, free: 29.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03494/0.2463, allocations: 16.34 MB / 491.4 MB, free: 25.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.481/7.727, allocations: 12.34 kB / 491.4 MB, free: 25.38 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.797612600028515]