Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001451/0.001451, allocations: 77.78 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 159 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 177.1 MB / 204.7 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2143/0.2143, allocations: 34.26 MB / 295.4 MB, free: 14.46 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002441/0.002441, allocations: 79.81 kB / 443.1 MB, free: 5.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2827, allocations: 66.04 MB / 0.4973 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01616/0.2989, allocations: 11.48 MB / 0.5085 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.3003, allocations: 1.218 MB / 0.5096 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.3004, allocations: 0 / 0.5096 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.3005, allocations: 31.81 kB / 0.5097 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005394/0.3059, allocations: 2.212 MB / 0.5118 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.2e-06/0.3059, allocations: 0 / 0.5118 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.3061, allocations: 39.73 kB / 0.5119 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.3061, allocations: 0 / 0.5119 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.829e-05/0.3062, allocations: 19.92 kB / 0.5119 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.603e-05/0.3062, allocations: 11.92 kB / 0.5119 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.128e-06/0.3062, allocations: 4 kB / 0.5119 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006337/0.3126, allocations: 3.71 MB / 0.5155 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.3126, allocations: 0 / 0.5155 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.3126, allocations: 15.94 kB / 0.5156 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002931/0.3155, allocations: 1.976 MB / 0.5175 GB, free: 12.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3155, allocations: 0 / 0.5175 GB, free: 12.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3156, allocations: 0 / 0.5175 GB, free: 12.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3156, allocations: 3.938 kB / 0.5175 GB, free: 12.79 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.001057/0.3166, allocations: 0.4928 MB / 0.518 GB, free: 12.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3166, allocations: 19.97 kB / 0.518 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.3168, allocations: 8.891 kB / 0.518 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.3169, allocations: 114.5 kB / 0.5181 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3169, allocations: 384 / 0.5181 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.3169, allocations: 8.375 kB / 0.5181 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.3172, allocations: 83.5 kB / 0.5182 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3172, allocations: 0 / 0.5182 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3172, allocations: 4 kB / 0.5182 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3172, allocations: 4 kB / 0.5182 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.3174, allocations: 47.89 kB / 0.5182 GB, free: 11.95 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.0004226/0.3178, allocations: 308.6 kB / 0.5185 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.318, allocations: 58.47 kB / 0.5186 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.318, allocations: 12.86 kB / 0.5186 GB, free: 11.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02031/0.3383, allocations: 5.687 MB / 0.5242 GB, free: 5.832 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.3384, allocations: 30.56 kB / 0.5242 GB, free: 5.793 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.094e-06/0.3384, allocations: 4 kB / 0.5242 GB, free: 5.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004793/0.3388, allocations: 101.6 kB / 0.5243 GB, free: 5.684 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.3389, allocations: 55.41 kB / 0.5243 GB, free: 5.617 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.257e-05/0.339, allocations: 101.8 kB / 0.5244 GB, free: 5.508 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.339, allocations: 25.7 kB / 0.5245 GB, free: 5.477 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.3391, allocations: 88.09 kB / 0.5245 GB, free: 5.387 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.3391, allocations: 19.78 kB / 0.5246 GB, free: 5.367 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.3391, allocations: 21.7 kB / 0.5246 GB, free: 5.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3393, allocations: 318.8 kB / 0.5249 GB, free: 5.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.3393, allocations: 4 kB / 0.5249 GB, free: 5.016 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.046e-05/0.3393, allocations: 34.56 kB / 0.5249 GB, free: 4.973 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.114e-05/0.3394, allocations: 34.58 kB / 0.525 GB, free: 4.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3394, allocations: 128 / 0.525 GB, free: 4.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001098/0.3395, allocations: 77.52 kB / 0.525 GB, free: 4.848 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3395, allocations: 4 kB / 0.525 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3395, allocations: 3.984 kB / 0.525 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3395, allocations: 7.938 kB / 0.5251 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.3396, allocations: 8 kB / 0.5251 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.3396, allocations: 4.062 kB / 0.5251 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.888e-05/0.3396, allocations: 0 / 0.5251 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.3396, allocations: 4 kB / 0.5251 GB, free: 4.816 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.533e-05/0.3397, allocations: 118.7 kB / 0.5252 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.3398, allocations: 0 / 0.5252 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.3402, allocations: 397.1 kB / 0.5256 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.3402, allocations: 7.984 kB / 0.5256 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3403, allocations: 3.938 kB / 0.5256 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3403, allocations: 0 / 0.5256 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.3406, allocations: 229.9 kB / 0.5258 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3406, allocations: 4 kB / 0.5258 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.241e-05/0.3406, allocations: 8 kB / 0.5258 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3406, allocations: 0 / 0.5258 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.3406, allocations: 0 / 0.5258 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3406, allocations: 0 / 0.5258 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3406, allocations: 0 / 0.5258 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.3409, allocations: 298 kB / 0.5261 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.3409, allocations: 15.89 kB / 0.5261 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.341, allocations: 0 / 0.5261 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.212e-05/0.341, allocations: 4 kB / 0.5261 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.341, allocations: 3.984 kB / 0.5261 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.341, allocations: 8 kB / 0.5261 GB, free: 3.676 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.996e-05/0.3411, allocations: 79.7 kB / 0.5262 GB, free: 3.598 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3411, allocations: 0 / 0.5262 GB, free: 3.598 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001422/0.3425, allocations: 451.3 kB / 0.5266 GB, free: 3.156 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.001844/0.3444, allocations: 0.565 MB / 0.5272 GB, free: 2.582 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.3445, allocations: 87.84 kB / 0.5273 GB, free: 2.496 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3445, allocations: 0 / 0.5273 GB, free: 2.496 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.508e-05/0.3446, allocations: 63.98 kB / 0.5273 GB, free: 2.434 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.3449, allocations: 23.02 kB / 0.5273 GB, free: 2.414 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.3454, allocations: 312.9 kB / 0.5276 GB, free: 2.078 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.448e-05/0.3455, allocations: 102 kB / 0.5277 GB, free: 1.961 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.562e-05/0.3456, allocations: 27.95 kB / 0.5278 GB, free: 1.934 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.3456, allocations: 12.5 kB / 0.5278 GB, free: 1.922 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3456, allocations: 0 / 0.5278 GB, free: 1.922 MB / 430.1 MB Notification: Performance of Templates: time 0.02187/0.3675, allocations: 13.72 MB / 0.5412 GB, free: 4.203 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.321430124924518]