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.0008205/0.0008205, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.00083/0.00083, allocations: 174.3 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.9022/0.9022, allocations: 177.1 MB / 204.2 MB, free: 5.734 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.2411/0.2411, 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.192e-06/1.192e-06, allocations: 0 / 442.1 MB, free: 1.695 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.389e-05, allocations: 2.281 kB / 442.2 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.1693/0.1693, allocations: 11.45 MB / 453.6 MB, free: 37.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005981/0.1699, allocations: 1.218 MB / 454.8 MB, free: 37.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.253e-05/0.17, allocations: 0 / 454.8 MB, free: 37.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.1701, allocations: 34.31 kB / 454.9 MB, free: 37.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.1725, allocations: 2.223 MB / 457.1 MB, free: 36.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.817e-06/0.1725, allocations: 7.938 kB / 457.1 MB, free: 36.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.755e-05/0.1726, allocations: 43.17 kB / 457.1 MB, free: 36.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.1726, allocations: 10.08 kB / 457.1 MB, free: 36.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.061e-05/0.1727, allocations: 14.34 kB / 457.2 MB, free: 36.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.169e-05/0.1727, allocations: 19.2 kB / 457.2 MB, free: 36.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.1727, allocations: 0 / 457.2 MB, free: 36.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002971/0.1757, allocations: 3.705 MB / 460.9 MB, free: 35.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.949e-06/0.1757, allocations: 3.5 kB / 460.9 MB, free: 35.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.1757, allocations: 14.59 kB / 460.9 MB, free: 35.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.1773, allocations: 2.563 MB / 463.5 MB, free: 34.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1773, allocations: 0 / 463.5 MB, free: 34.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1773, allocations: 0 / 463.5 MB, free: 34.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1773, allocations: 0 / 463.5 MB, free: 34.58 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.0006623/0.178, allocations: 0.4945 MB / 464 MB, free: 34.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.178, allocations: 10.03 kB / 464 MB, free: 34.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.154e-05/0.1781, allocations: 41.66 kB / 464 MB, free: 34.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.345e-05/0.1782, allocations: 11.27 kB / 464 MB, free: 34.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.151e-05/0.1782, allocations: 108.4 kB / 464.1 MB, free: 34.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1782, allocations: 2.875 kB / 464.1 MB, free: 34.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.1782, allocations: 7.938 kB / 464.1 MB, free: 34.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1784, allocations: 83.38 kB / 464.2 MB, free: 33.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1784, allocations: 4.25 kB / 464.2 MB, free: 33.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.1784, allocations: 7.938 kB / 464.2 MB, free: 33.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1784, allocations: 0 / 464.2 MB, free: 33.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.576e-05/0.1785, allocations: 46.45 kB / 464.3 MB, free: 33.95 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.0003118/0.1788, allocations: 338.1 kB / 464.6 MB, free: 33.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.1789, allocations: 54.73 kB / 464.7 MB, free: 33.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.349e-05/0.179, allocations: 9.938 kB / 464.7 MB, free: 33.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008651/0.1876, allocations: 5.674 MB / 470.3 MB, free: 32.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.1876, allocations: 33.88 kB / 470.4 MB, free: 32.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.1876, allocations: 6.344 kB / 470.4 MB, free: 32.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002791/0.1879, allocations: 107.7 kB / 470.5 MB, free: 32.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.947e-05/0.1879, allocations: 51.41 kB / 470.5 MB, free: 32.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.382e-05/0.188, allocations: 103.6 kB / 470.6 MB, free: 32.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.188, allocations: 25.7 kB / 470.7 MB, free: 32.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.515e-05/0.188, allocations: 88.09 kB / 470.7 MB, free: 32.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/0.188, allocations: 18.3 kB / 470.8 MB, free: 32.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.188, allocations: 20.09 kB / 470.8 MB, free: 32.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.03e-05/0.1881, allocations: 318.8 kB / 471.1 MB, free: 32.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/0.1881, allocations: 8.766 kB / 471.1 MB, free: 32.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.193e-05/0.1881, allocations: 31.7 kB / 471.1 MB, free: 32.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.772e-05/0.1882, allocations: 41.56 kB / 471.2 MB, free: 32.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1882, allocations: 0 / 471.2 MB, free: 32.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.325e-05/0.1882, allocations: 70.45 kB / 471.2 MB, free: 32.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1882, allocations: 5.812 kB / 471.2 MB, free: 32.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1882, allocations: 0 / 471.2 MB, free: 32.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1883, allocations: 0 / 471.2 MB, free: 32.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.262e-05/0.1883, allocations: 8.719 kB / 471.3 MB, free: 32.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1883, allocations: 7.234 kB / 471.3 MB, free: 32.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/0.1883, allocations: 3.953 kB / 471.3 MB, free: 32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.1883, allocations: 2.688 kB / 471.3 MB, free: 32 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.117e-05/0.1884, allocations: 123.9 kB / 471.4 MB, free: 31.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.1884, allocations: 2.656 kB / 471.4 MB, free: 31.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.1886, allocations: 385.3 kB / 471.8 MB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1886, allocations: 6.484 kB / 471.8 MB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1886, allocations: 1.125 kB / 471.8 MB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1886, allocations: 0 / 471.8 MB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.1888, allocations: 267.6 kB / 472 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1888, allocations: 4 kB / 472 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.671e-05/0.1888, allocations: 6.312 kB / 472 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1888, allocations: 0 / 472 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.1888, allocations: 0 / 472 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1888, allocations: 1.312 kB / 472 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1888, allocations: 3.281 kB / 472.1 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.1889, allocations: 290.7 kB / 472.3 MB, free: 31.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.1889, allocations: 18.72 kB / 472.4 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.1889, allocations: 3.094 kB / 472.4 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.782e-05/0.189, allocations: 1.781 kB / 472.4 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.189, allocations: 11.38 kB / 472.4 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.189, allocations: 3.094 kB / 472.4 MB, free: 31.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.226e-05/0.189, allocations: 81.62 kB / 472.5 MB, free: 31.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.189, allocations: 0 / 472.5 MB, free: 31.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005757/0.1896, allocations: 446 kB / 472.9 MB, free: 31.1 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.001343/0.1909, allocations: 1.365 MB / 474.3 MB, free: 30.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.191, allocations: 85.39 kB / 474.3 MB, free: 30.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.191, allocations: 0 / 474.3 MB, free: 30.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.273e-05/0.1911, allocations: 68.8 kB / 474.4 MB, free: 30.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.1913, allocations: 20.17 kB / 474.4 MB, free: 30.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006156/0.1919, allocations: 474.2 kB / 474.9 MB, free: 29.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.233e-05/0.1919, allocations: 102.2 kB / 475 MB, free: 29.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.77e-05/0.192, allocations: 26.91 kB / 475 MB, free: 29.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.192, allocations: 33.81 kB / 475 MB, free: 29.8 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.192, allocations: 0 / 475 MB, free: 29.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.221, allocations: 16.35 MB / 491.4 MB, free: 25.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.074/7.295, allocations: 9.438 kB / 491.4 MB, free: 25.38 MB / 410.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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.231447130441666]