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.001342/0.001342, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001504/0.001504, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.237/0.237, allocations: 46.95 MB / 360.9 MB, free: 4.039 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: translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 67.89 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3756, allocations: 66.03 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.0162/0.3918, allocations: 11.48 MB / 0.5723 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.3934, allocations: 1.214 MB / 0.5735 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.881e-05/0.3934, allocations: 0 / 0.5735 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.3936, allocations: 27.83 kB / 0.5735 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00595/0.3996, allocations: 2.21 MB / 0.5756 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.352e-06/0.3996, allocations: 0 / 0.5756 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.552e-05/0.3997, allocations: 35.73 kB / 0.5757 GB, free: 5.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.3997, allocations: 3.984 kB / 0.5757 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.055e-05/0.3998, allocations: 19.94 kB / 0.5757 GB, free: 5.137 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.379e-05/0.3999, allocations: 11.94 kB / 0.5757 GB, free: 5.125 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.3999, allocations: 4 kB / 0.5757 GB, free: 5.121 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007279/0.4071, allocations: 3.706 MB / 0.5793 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.4072, allocations: 0 / 0.5793 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.4072, allocations: 19.91 kB / 0.5794 GB, free: 1.391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00469/0.4119, allocations: 1.976 MB / 0.5813 GB, free: 15.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4119, allocations: 4 kB / 0.5813 GB, free: 15.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4119, allocations: 0 / 0.5813 GB, free: 15.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.4119, allocations: 0 / 0.5813 GB, free: 15.41 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.001455/0.4134, allocations: 496.6 kB / 0.5818 GB, free: 14.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.4134, allocations: 12.03 kB / 0.5818 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.4136, allocations: 16.88 kB / 0.5818 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.4137, allocations: 114.4 kB / 0.5819 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.4138, allocations: 384 / 0.5819 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.4138, allocations: 4.375 kB / 0.5819 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.4141, allocations: 91.48 kB / 0.582 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.4141, allocations: 0 / 0.582 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4141, allocations: 4 kB / 0.582 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4141, allocations: 4 kB / 0.582 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.4143, allocations: 47.89 kB / 0.582 GB, free: 14.57 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.0005038/0.4148, allocations: 304.6 kB / 0.5823 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.415, allocations: 54.53 kB / 0.5824 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.415, allocations: 12.86 kB / 0.5824 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02077/0.4358, allocations: 5.691 MB / 0.588 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.4358, allocations: 34.56 kB / 0.588 GB, free: 8.414 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.4358, allocations: 4 kB / 0.588 GB, free: 8.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005206/0.4364, allocations: 97.62 kB / 0.5881 GB, free: 8.309 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.4364, allocations: 51.41 kB / 0.5881 GB, free: 8.246 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.4365, allocations: 106.2 kB / 0.5882 GB, free: 8.133 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.4365, allocations: 25.7 kB / 0.5883 GB, free: 8.102 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.4366, allocations: 84.09 kB / 0.5883 GB, free: 8.016 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.4366, allocations: 27.83 kB / 0.5884 GB, free: 7.988 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.4367, allocations: 17.72 kB / 0.5884 GB, free: 7.965 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4368, allocations: 314.8 kB / 0.5887 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.067e-05/0.4368, allocations: 19.92 kB / 0.5887 GB, free: 7.629 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.536e-05/0.4369, allocations: 18.58 kB / 0.5887 GB, free: 7.602 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.076e-05/0.437, allocations: 42.59 kB / 0.5888 GB, free: 7.551 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.437, allocations: 4 kB / 0.5888 GB, free: 7.547 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001289/0.4371, allocations: 65.58 kB / 0.5888 GB, free: 7.477 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4371, allocations: 4.062 kB / 0.5888 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4371, allocations: 4 kB / 0.5888 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.4371, allocations: 7.938 kB / 0.5888 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.946e-05/0.4372, allocations: 11.94 kB / 0.5889 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.4372, allocations: 3.938 kB / 0.5889 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.83e-05/0.4373, allocations: 8.125 kB / 0.5889 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.4373, allocations: 4 kB / 0.5889 GB, free: 7.434 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 0.0001038/0.4374, allocations: 117.8 kB / 0.589 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.4374, allocations: 0 / 0.589 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004789/0.4379, allocations: 395.1 kB / 0.5894 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.4379, allocations: 12 kB / 0.5894 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4379, allocations: 0 / 0.5894 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.4379, allocations: 3.984 kB / 0.5894 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.4382, allocations: 217.8 kB / 0.5896 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.4382, allocations: 4 kB / 0.5896 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.4382, allocations: 4 kB / 0.5896 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.4382, allocations: 0 / 0.5896 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.4382, allocations: 4 kB / 0.5896 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4382, allocations: 0 / 0.5896 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4382, allocations: 0 / 0.5896 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.4385, allocations: 301.6 kB / 0.5899 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.4386, allocations: 15.89 kB / 0.5899 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.4386, allocations: 0 / 0.5899 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.084e-05/0.4386, allocations: 0 / 0.5899 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.4387, allocations: 7.938 kB / 0.5899 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.4387, allocations: 0 / 0.5899 GB, free: 6.312 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.963e-05/0.4387, allocations: 87.27 kB / 0.59 GB, free: 6.227 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4387, allocations: 0 / 0.59 GB, free: 6.227 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001353/0.4401, allocations: 451.3 kB / 0.5904 GB, free: 5.785 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.002189/0.4423, allocations: 0.5571 MB / 0.591 GB, free: 5.219 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.4424, allocations: 91.86 kB / 0.5911 GB, free: 5.129 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4424, allocations: 0 / 0.5911 GB, free: 5.129 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.598e-05/0.4425, allocations: 68.09 kB / 0.5911 GB, free: 5.062 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.4429, allocations: 24.17 kB / 0.5911 GB, free: 5.039 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.4434, allocations: 305 kB / 0.5914 GB, free: 4.711 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.69e-05/0.4435, allocations: 105.7 kB / 0.5915 GB, free: 4.586 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.697e-05/0.4436, allocations: 23.91 kB / 0.5916 GB, free: 4.562 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.4436, allocations: 15.44 kB / 0.5916 GB, free: 4.547 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4436, allocations: 0 / 0.5916 GB, free: 4.547 MB / 430.1 MB Notification: Performance of Templates: time 0.02345/0.4671, allocations: 13.8 MB / 0.605 GB, free: 6.758 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 480] 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: 5.872636055573821]