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.001343/0.001343, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001756/0.001756, allocations: 203.7 kB / 23.72 MB, free: 4.391 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.578/1.578, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.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.2659/0.2659, allocations: 46.95 MB / 360.8 MB, free: 3.914 MB / 286.1 MB " [Timeout remaining time 179] 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.002385/0.002385, allocations: 75.88 kB / 0.4966 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3586, allocations: 66.09 MB / 0.5612 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01837/0.3769, allocations: 11.47 MB / 0.5724 GB, free: 8.449 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.3786, allocations: 1.214 MB / 0.5735 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.3787, allocations: 4 kB / 0.5736 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.3789, allocations: 27.83 kB / 0.5736 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006912/0.3858, allocations: 2.204 MB / 0.5757 GB, free: 4.996 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.288e-06/0.3858, allocations: 0 / 0.5757 GB, free: 4.996 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.3859, allocations: 47.66 kB / 0.5758 GB, free: 4.949 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.3859, allocations: 0 / 0.5758 GB, free: 4.949 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.768e-05/0.386, allocations: 15.94 kB / 0.5758 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.368e-05/0.3861, allocations: 15.92 kB / 0.5758 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.3861, allocations: 3.938 kB / 0.5758 GB, free: 4.914 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007445/0.3936, allocations: 3.703 MB / 0.5794 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.3936, allocations: 3.984 kB / 0.5794 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.3936, allocations: 15.92 kB / 0.5794 GB, free: 1.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003694/0.3973, allocations: 1.972 MB / 0.5814 GB, free: 15.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3973, allocations: 0 / 0.5814 GB, free: 15.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3973, allocations: 0 / 0.5814 GB, free: 15.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3973, allocations: 4 kB / 0.5814 GB, free: 15.21 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.001171/0.3985, allocations: 0.4928 MB / 0.5819 GB, free: 14.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.3985, allocations: 8.031 kB / 0.5819 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.3987, allocations: 16.88 kB / 0.5819 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.3988, allocations: 118.5 kB / 0.582 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3988, allocations: 4.312 kB / 0.582 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.3989, allocations: 4.375 kB / 0.582 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.3991, allocations: 91.48 kB / 0.5821 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3991, allocations: 0 / 0.5821 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3991, allocations: 0 / 0.5821 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3991, allocations: 4 kB / 0.5821 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.3993, allocations: 47.89 kB / 0.5821 GB, free: 14.36 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.000487/0.3998, allocations: 312.6 kB / 0.5824 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.4, allocations: 54.58 kB / 0.5825 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.4, allocations: 12.86 kB / 0.5825 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02052/0.4205, allocations: 5.687 MB / 0.5881 GB, free: 8.246 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.4206, allocations: 30.56 kB / 0.5881 GB, free: 8.207 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.555e-06/0.4206, allocations: 0 / 0.5881 GB, free: 8.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005547/0.4211, allocations: 109.6 kB / 0.5882 GB, free: 8.094 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.4212, allocations: 55.39 kB / 0.5882 GB, free: 8.027 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.599e-05/0.4213, allocations: 97.86 kB / 0.5883 GB, free: 7.922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.4213, allocations: 25.7 kB / 0.5884 GB, free: 7.891 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/0.4214, allocations: 88.09 kB / 0.5884 GB, free: 7.801 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.4214, allocations: 19.83 kB / 0.5885 GB, free: 7.781 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.4215, allocations: 21.72 kB / 0.5885 GB, free: 7.754 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4216, allocations: 318.8 kB / 0.5888 GB, free: 7.434 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.022e-05/0.4216, allocations: 11.98 kB / 0.5888 GB, free: 7.422 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.986e-05/0.4217, allocations: 22.58 kB / 0.5888 GB, free: 7.391 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.871e-05/0.4218, allocations: 42.5 kB / 0.5889 GB, free: 7.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4218, allocations: 0 / 0.5889 GB, free: 7.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001522/0.4219, allocations: 65.95 kB / 0.5889 GB, free: 7.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.4219, allocations: 11.94 kB / 0.5889 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.422, allocations: 0 / 0.5889 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.422, allocations: 4.062 kB / 0.5889 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.733e-05/0.4221, allocations: 8 kB / 0.5889 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.4221, allocations: 11.88 kB / 0.589 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.962e-05/0.4221, allocations: 0 / 0.589 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.4221, allocations: 12.03 kB / 0.589 GB, free: 7.223 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.0001027/0.4222, allocations: 109.8 kB / 0.5891 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.4223, allocations: 7.984 kB / 0.5891 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005229/0.4228, allocations: 391.1 kB / 0.5895 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.4228, allocations: 7.984 kB / 0.5895 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4228, allocations: 8 kB / 0.5895 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4228, allocations: 0 / 0.5895 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.4231, allocations: 217.8 kB / 0.5897 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4231, allocations: 0 / 0.5897 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.4231, allocations: 7.938 kB / 0.5897 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.4231, allocations: 4 kB / 0.5897 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.4231, allocations: 0 / 0.5897 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.4231, allocations: 3.984 kB / 0.5897 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.4231, allocations: 0 / 0.5897 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.4234, allocations: 297.7 kB / 0.59 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.4235, allocations: 15.89 kB / 0.59 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.4235, allocations: 4.25 kB / 0.59 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.322e-05/0.4235, allocations: 8 kB / 0.59 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.4236, allocations: 0 / 0.59 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.892e-06/0.4236, allocations: 3.984 kB / 0.59 GB, free: 6.098 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.695e-05/0.4236, allocations: 83.28 kB / 0.5901 GB, free: 6.016 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4236, allocations: 0 / 0.5901 GB, free: 6.016 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001427/0.425, allocations: 451.3 kB / 0.5905 GB, free: 5.574 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.002354/0.4274, allocations: 0.5626 MB / 0.5911 GB, free: 5.004 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.4276, allocations: 79.92 kB / 0.5911 GB, free: 4.926 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4276, allocations: 0 / 0.5911 GB, free: 4.926 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.4277, allocations: 71.91 kB / 0.5912 GB, free: 4.855 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.4281, allocations: 19.91 kB / 0.5912 GB, free: 4.836 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006147/0.4287, allocations: 321 kB / 0.5915 GB, free: 4.492 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.4288, allocations: 97.72 kB / 0.5916 GB, free: 4.375 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.4289, allocations: 19.97 kB / 0.5916 GB, free: 4.355 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.4289, allocations: 15.44 kB / 0.5917 GB, free: 4.34 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4289, allocations: 3.938 kB / 0.5917 GB, free: 4.336 MB / 430.1 MB Notification: Performance of Templates: time 0.0221/0.451, allocations: 13.79 MB / 0.6051 GB, free: 6.547 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 -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/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_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.853036634624004]