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.002162/0.002162, allocations: 111.1 kB / 20.44 MB, free: 1.352 MB / 14.72 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.00294/0.00294, allocations: 213.3 kB / 23.73 MB, free: 4.531 MB / 14.72 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 1.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.2352/0.2352, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 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 0.002086/0.002086, allocations: 72.06 kB / 0.4961 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3557, allocations: 66.03 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01747/0.3732, allocations: 11.47 MB / 0.5718 GB, free: 8.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.3748, allocations: 1.218 MB / 0.573 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.055e-05/0.3749, allocations: 0 / 0.573 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.3751, allocations: 35.81 kB / 0.573 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007811/0.3829, allocations: 2.21 MB / 0.5752 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.002e-05/0.3829, allocations: 0 / 0.5752 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.383, allocations: 43.72 kB / 0.5752 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.574e-05/0.3831, allocations: 4 kB / 0.5752 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.3832, allocations: 23.86 kB / 0.5752 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.356e-05/0.3832, allocations: 7.938 kB / 0.5752 GB, free: 5.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.3833, allocations: 4 kB / 0.5752 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007667/0.3909, allocations: 3.707 MB / 0.5789 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.3909, allocations: 0 / 0.5789 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.481e-05/0.391, allocations: 15.92 kB / 0.5789 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00416/0.3951, allocations: 1.976 MB / 0.5808 GB, free: 15.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3952, allocations: 4 kB / 0.5808 GB, free: 15.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3952, allocations: 0 / 0.5808 GB, free: 15.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3952, allocations: 0 / 0.5808 GB, free: 15.47 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.001511/0.3967, allocations: 0.4888 MB / 0.5813 GB, free: 14.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.3967, allocations: 12.03 kB / 0.5813 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.011e-05/0.3968, allocations: 34.75 kB / 0.5813 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.3969, allocations: 16.88 kB / 0.5813 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.3971, allocations: 110.5 kB / 0.5814 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3971, allocations: 8.375 kB / 0.5815 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.3971, allocations: 384 / 0.5815 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.3974, allocations: 91.25 kB / 0.5815 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3974, allocations: 7.984 kB / 0.5815 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.3974, allocations: 0 / 0.5815 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3974, allocations: 0 / 0.5815 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.3976, allocations: 39.97 kB / 0.5816 GB, free: 14.59 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.0005318/0.3981, allocations: 336 kB / 0.5819 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.3983, allocations: 54.55 kB / 0.582 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.3984, allocations: 16.86 kB / 0.582 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02058/0.419, allocations: 5.683 MB / 0.5875 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.419, allocations: 34.56 kB / 0.5876 GB, free: 8.402 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.194e-06/0.419, allocations: 0 / 0.5876 GB, free: 8.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005349/0.4195, allocations: 105.6 kB / 0.5877 GB, free: 8.293 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.4196, allocations: 59.39 kB / 0.5877 GB, free: 8.223 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.4197, allocations: 97.86 kB / 0.5878 GB, free: 8.117 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.4197, allocations: 25.7 kB / 0.5878 GB, free: 8.086 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.4198, allocations: 88.09 kB / 0.5879 GB, free: 7.996 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.4198, allocations: 19.83 kB / 0.5879 GB, free: 7.977 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/0.4199, allocations: 21.72 kB / 0.588 GB, free: 7.949 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.4201, allocations: 314.8 kB / 0.5883 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.278e-05/0.4201, allocations: 11.98 kB / 0.5883 GB, free: 7.621 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.864e-05/0.4202, allocations: 26.58 kB / 0.5883 GB, free: 7.586 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.751e-05/0.4202, allocations: 42.5 kB / 0.5883 GB, free: 7.535 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4202, allocations: 0 / 0.5883 GB, free: 7.535 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001538/0.4204, allocations: 65.95 kB / 0.5884 GB, free: 7.465 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.4204, allocations: 8 kB / 0.5884 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4204, allocations: 3.938 kB / 0.5884 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.4204, allocations: 0 / 0.5884 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.585e-05/0.4205, allocations: 11.94 kB / 0.5884 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.4205, allocations: 4 kB / 0.5884 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/0.4206, allocations: 7.938 kB / 0.5884 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.4206, allocations: 16.03 kB / 0.5884 GB, free: 7.414 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 9.75e-05/0.4207, allocations: 105.8 kB / 0.5885 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.4207, allocations: 8.109 kB / 0.5886 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005094/0.4212, allocations: 391.1 kB / 0.5889 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.4212, allocations: 11.98 kB / 0.5889 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.4212, allocations: 4 kB / 0.5889 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.4212, allocations: 3.938 kB / 0.5889 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.4216, allocations: 245.3 kB / 0.5892 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4216, allocations: 0 / 0.5892 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.4216, allocations: 15.94 kB / 0.5892 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4216, allocations: 4 kB / 0.5892 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.4216, allocations: 0 / 0.5892 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4216, allocations: 0 / 0.5892 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4216, allocations: 0 / 0.5892 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.422, allocations: 297.6 kB / 0.5895 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.422, allocations: 23.83 kB / 0.5895 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.422, allocations: 0 / 0.5895 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.133e-05/0.4221, allocations: 0 / 0.5895 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.4221, allocations: 4 kB / 0.5895 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.4221, allocations: 7.938 kB / 0.5895 GB, free: 6.242 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.765e-05/0.4221, allocations: 83.27 kB / 0.5896 GB, free: 6.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4221, allocations: 4 kB / 0.5896 GB, free: 6.156 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001495/0.4236, allocations: 447.4 kB / 0.59 GB, free: 5.719 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.002936/0.4266, allocations: 1.284 MB / 0.5913 GB, free: 4.406 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.4268, allocations: 83.86 kB / 0.5914 GB, free: 4.324 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4268, allocations: 0 / 0.5914 GB, free: 4.324 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.4269, allocations: 71.97 kB / 0.5914 GB, free: 4.254 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.4273, allocations: 20.16 kB / 0.5915 GB, free: 4.234 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.4288, allocations: 477.8 kB / 0.5919 GB, free: 3.723 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.4289, allocations: 101.8 kB / 0.592 GB, free: 3.605 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.66e-05/0.429, allocations: 27.95 kB / 0.592 GB, free: 3.578 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.4291, allocations: 27.44 kB / 0.5921 GB, free: 3.551 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4291, allocations: 0 / 0.5921 GB, free: 3.551 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05287/0.4819, allocations: 16.17 MB / 0.6078 GB, free: 3.504 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.11, allocations: 6.688 kB / 0.6079 GB, free: 3.5 MB / 446.1 MB " [Timeout remaining time 648] (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/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_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: 15.057388866785914]