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.001305/0.001305, allocations: 114.3 kB / 18.49 MB, free: 4.539 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.001369/0.001369, allocations: 219 kB / 21.46 MB, free: 1.586 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.5/1.5, allocations: 230.6 MB / 254.8 MB, free: 15.05 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.3233/0.3233, allocations: 46.93 MB / 357.8 MB, free: 10.26 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 67.89 kB / 0.4916 GB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1351, allocations: 66 MB / 0.556 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01997/0.155, allocations: 12.55 MB / 0.5683 GB, free: 9.176 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.1569, allocations: 1.397 MB / 0.5697 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.157, allocations: 0 / 0.5697 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.1572, allocations: 35.8 kB / 0.5697 GB, free: 7.738 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006923/0.1641, allocations: 2.229 MB / 0.5719 GB, free: 5.512 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.734e-06/0.1641, allocations: 0 / 0.5719 GB, free: 5.512 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.1642, allocations: 43.67 kB / 0.5719 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.859e-05/0.1643, allocations: 7.938 kB / 0.5719 GB, free: 5.461 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.057e-05/0.1644, allocations: 8 kB / 0.5719 GB, free: 5.453 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.42e-05/0.1644, allocations: 15.92 kB / 0.5719 GB, free: 5.438 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.457e-06/0.1644, allocations: 4 kB / 0.572 GB, free: 5.434 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007677/0.1721, allocations: 3.859 MB / 0.5757 GB, free: 1.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.1721, allocations: 3.938 kB / 0.5757 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.286e-05/0.1722, allocations: 11.94 kB / 0.5757 GB, free: 1.555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004507/0.1767, allocations: 1.988 MB / 0.5777 GB, free: 15.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1767, allocations: 4 kB / 0.5777 GB, free: 15.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1767, allocations: 0 / 0.5777 GB, free: 15.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.1767, allocations: 0 / 0.5777 GB, free: 15.56 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.001683/0.1784, allocations: 0.5642 MB / 0.5782 GB, free: 14.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1784, allocations: 12.03 kB / 0.5782 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.661e-05/0.1784, allocations: 192 / 0.5782 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.425e-05/0.1785, allocations: 34.75 kB / 0.5783 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.1786, allocations: 16.88 kB / 0.5783 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.1788, allocations: 160.4 kB / 0.5784 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1788, allocations: 12.38 kB / 0.5785 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.1788, allocations: 8.062 kB / 0.5785 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.1791, allocations: 91.3 kB / 0.5786 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1791, allocations: 7.984 kB / 0.5786 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1791, allocations: 0 / 0.5786 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1791, allocations: 0 / 0.5786 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.1793, allocations: 39.97 kB / 0.5786 GB, free: 14.51 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.0005136/0.1798, allocations: 368.9 kB / 0.579 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.18, allocations: 58.53 kB / 0.579 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.594e-05/0.18, allocations: 16.84 kB / 0.579 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02273/0.2028, allocations: 10.41 MB / 0.5892 GB, free: 2.414 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.2028, allocations: 38.56 kB / 0.5892 GB, free: 2.367 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 2.886e-06/0.2028, allocations: 0 / 0.5892 GB, free: 2.367 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005569/0.2034, allocations: 105.5 kB / 0.5893 GB, free: 2.258 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.2034, allocations: 51.41 kB / 0.5894 GB, free: 2.195 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.2035, allocations: 109.8 kB / 0.5895 GB, free: 2.078 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.2035, allocations: 29.7 kB / 0.5895 GB, free: 2.043 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.2036, allocations: 88.09 kB / 0.5896 GB, free: 1.953 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.2036, allocations: 19.84 kB / 0.5896 GB, free: 1.934 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.2037, allocations: 21.7 kB / 0.5896 GB, free: 1.906 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2038, allocations: 310.8 kB / 0.5899 GB, free: 1.594 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.517e-05/0.2038, allocations: 8 kB / 0.5899 GB, free: 1.586 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.062e-05/0.2039, allocations: 26.56 kB / 0.59 GB, free: 1.551 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.594e-05/0.204, allocations: 42.52 kB / 0.59 GB, free: 1.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.204, allocations: 0 / 0.59 GB, free: 1.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001186/0.2041, allocations: 65.61 kB / 0.5901 GB, free: 1.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.2041, allocations: 8 kB / 0.5901 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2041, allocations: 0 / 0.5901 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2041, allocations: 3.938 kB / 0.5901 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.2042, allocations: 8 kB / 0.5901 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2042, allocations: 8.062 kB / 0.5901 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.834e-05/0.2042, allocations: 12.02 kB / 0.5901 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.2043, allocations: 8 kB / 0.5901 GB, free: 1.383 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 8.919e-05/0.2043, allocations: 109.8 kB / 0.5902 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.2044, allocations: 4 kB / 0.5902 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004638/0.2048, allocations: 370.9 kB / 0.5906 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.2049, allocations: 7.984 kB / 0.5906 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.2049, allocations: 0 / 0.5906 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.2049, allocations: 11.94 kB / 0.5906 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.2052, allocations: 278.2 kB / 0.5909 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2052, allocations: 0 / 0.5909 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.2052, allocations: 4 kB / 0.5909 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.2052, allocations: 4 kB / 0.5909 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.2052, allocations: 7.938 kB / 0.5909 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2052, allocations: 3.984 kB / 0.5909 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2052, allocations: 3.938 kB / 0.5909 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.2055, allocations: 285.7 kB / 0.5912 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.2056, allocations: 93.38 kB / 0.5912 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.2056, allocations: 4 kB / 0.5912 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-05/0.2057, allocations: 0 / 0.5912 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.2057, allocations: 3.938 kB / 0.5913 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.2057, allocations: 8 kB / 0.5913 GB, free: 112 kB / 446.1 MB Notification: Performance of sorting global known variables: time 4.794e-05/0.2057, allocations: 83.25 kB / 0.5913 GB, free: 28 kB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2057, allocations: 4 kB / 0.5913 GB, free: 24 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.2767/0.4825, allocations: 441.5 kB / 0.5918 GB, free: 36.78 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.002261/0.4847, allocations: 1.271 MB / 0.593 GB, free: 36.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.4849, allocations: 83.95 kB / 0.5931 GB, free: 36.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4849, allocations: 0 / 0.5931 GB, free: 36.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.485, allocations: 68.75 kB / 0.5932 GB, free: 36.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.4854, allocations: 13.38 kB / 0.5932 GB, free: 36.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.4864, allocations: 471.8 kB / 0.5936 GB, free: 35.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.4866, allocations: 0.7109 MB / 0.5943 GB, free: 35.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.4867, allocations: 28.55 kB / 0.5943 GB, free: 35.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.4867, allocations: 29.31 kB / 0.5944 GB, free: 35.19 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4867, allocations: 0 / 0.5944 GB, free: 35.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04785/0.5345, allocations: 15.68 MB / 0.6097 GB, free: 30.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.586/9.121, allocations: 11.75 kB / 0.6097 GB, free: 30.58 MB / 446.1 MB " [Timeout remaining time 651] (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: 12.357385912036989]