Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.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.0009656/0.0009656, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 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.001013/0.001013, allocations: 160.5 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9539/0.9539, allocations: 177 MB / 204.8 MB, free: 5.082 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 272.9 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.718e-05, allocations: 8.844 kB / 272.9 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1536/0.1536, allocations: 26.5 MB / 299.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.1554, allocations: 2.241 MB / 301.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.508e-05/0.1555, allocations: 1.312 kB / 301.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.1558, allocations: 65.67 kB / 301.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.1561, allocations: 168.5 kB / 301.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01073/0.1669, allocations: 6.579 MB / 308.5 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003643/0.1672, allocations: 353.5 kB / 308.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.1673, allocations: 10.66 kB / 308.8 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.1675, allocations: 186.5 kB / 309 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.1676, allocations: 115.4 kB / 309.1 MB, free: 9.906 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.1677, allocations: 11.91 kB / 309.1 MB, free: 9.906 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009736/0.1774, allocations: 9.026 MB / 318.1 MB, free: 3.867 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.807e-05/0.1775, allocations: 75.8 kB / 318.2 MB, free: 3.793 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.059e-05/0.1776, allocations: 79.81 kB / 318.3 MB, free: 3.715 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006184/0.1838, allocations: 5.869 MB / 324.2 MB, free: 13.83 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1838, allocations: 0 / 324.2 MB, free: 13.83 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1838, allocations: 0 / 324.2 MB, free: 13.83 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1838, allocations: 0 / 324.2 MB, free: 13.83 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002087/0.1859, allocations: 1.186 MB / 325.3 MB, free: 12.6 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1859, allocations: 15.97 kB / 325.4 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.186, allocations: 44.53 kB / 325.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.1862, allocations: 168.4 kB / 325.6 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1863, allocations: 16.33 kB / 325.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.1863, allocations: 23.95 kB / 325.6 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.1867, allocations: 322.6 kB / 325.9 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1867, allocations: 4 kB / 325.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.1867, allocations: 8 kB / 325.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.1868, allocations: 8 kB / 325.9 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.187, allocations: 160.5 kB / 326.1 MB, free: 11.78 MB / 282.7 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.0008664/0.1879, allocations: 0.7047 MB / 326.8 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.1883, allocations: 227 kB / 327 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.1884, allocations: 97.39 kB / 327.1 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00494/0.1933, allocations: 2.711 MB / 329.8 MB, free: 7.973 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1933, allocations: 33.39 kB / 329.9 MB, free: 7.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.453e-06/0.1933, allocations: 4 kB / 329.9 MB, free: 7.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.00115/0.1945, allocations: 0.5372 MB / 330.4 MB, free: 7.383 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.1945, allocations: 89.05 kB / 330.5 MB, free: 7.277 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.1946, allocations: 204.8 kB / 330.7 MB, free: 7.062 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.1946, allocations: 29.7 kB / 330.7 MB, free: 7.027 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.94e-05/0.1947, allocations: 159.7 kB / 330.9 MB, free: 6.863 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.931e-05/0.1948, allocations: 134.9 kB / 331 MB, free: 6.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.278e-05/0.1949, allocations: 83.33 kB / 331.1 MB, free: 6.641 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.195, allocations: 0.4962 MB / 331.6 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.1951, allocations: 75.95 kB / 331.7 MB, free: 6.059 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.1953, allocations: 181.1 kB / 331.8 MB, free: 5.844 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/0.1956, allocations: 274.1 kB / 332.1 MB, free: 5.539 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1956, allocations: 0 / 332.1 MB, free: 5.539 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004765/0.1961, allocations: 349.5 kB / 332.4 MB, free: 5.195 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1961, allocations: 8 kB / 332.5 MB, free: 5.188 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1961, allocations: 10.83 kB / 332.5 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.1961, allocations: 4 kB / 332.5 MB, free: 5.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.1963, allocations: 83.88 kB / 332.6 MB, free: 5.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1963, allocations: 4 kB / 332.6 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.1964, allocations: 19.89 kB / 332.6 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.1965, allocations: 23.98 kB / 332.6 MB, free: 5.051 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001005/0.1966, allocations: 176.5 kB / 332.8 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.1967, allocations: 59.48 kB / 332.8 MB, free: 4.812 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.1969, allocations: 166.9 kB / 333 MB, free: 4.648 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1969, allocations: 4 kB / 333 MB, free: 4.645 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1969, allocations: 0 / 333 MB, free: 4.645 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1969, allocations: 3.984 kB / 333 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007092/0.1976, allocations: 0.6411 MB / 333.6 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1976, allocations: 3.938 kB / 333.6 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.1978, allocations: 75.89 kB / 333.7 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1978, allocations: 7.938 kB / 333.7 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.1978, allocations: 8.156 kB / 333.7 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.1979, allocations: 11.98 kB / 333.7 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.1979, allocations: 0 / 333.7 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006106/0.1985, allocations: 0.6665 MB / 334.4 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.1985, allocations: 51.75 kB / 334.5 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.1986, allocations: 8 kB / 334.5 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.1987, allocations: 19.98 kB / 334.5 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.1987, allocations: 23.98 kB / 334.5 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.1988, allocations: 16 kB / 334.5 MB, free: 3.004 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.18e-05/0.1988, allocations: 151.2 kB / 334.7 MB, free: 2.855 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1988, allocations: 0 / 334.7 MB, free: 2.855 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001508/0.2003, allocations: 0.9588 MB / 335.6 MB, free: 1.895 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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 Backend phase and start with SimCode phase: time 0.002443/0.2028, allocations: 1.388 MB / 337 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003604/0.2031, allocations: 262.9 kB / 337.3 MB, free: 248 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2031, allocations: 3.938 kB / 337.3 MB, free: 244 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.2033, allocations: 141 kB / 337.4 MB, free: 100 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.2037, allocations: 119.7 kB / 337.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.2047, allocations: 0.5266 MB / 338.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.749e-05/0.2048, allocations: 86.23 kB / 338.2 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002145/0.205, allocations: 84.11 kB / 338.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.856e-05/0.2051, allocations: 44.41 kB / 338.3 MB, free: 15.18 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2051, allocations: 0 / 338.3 MB, free: 15.18 MB / 298.7 MB Notification: Performance of Templates: time 0.03747/0.2426, allocations: 36.45 MB / 374.7 MB, free: 10.8 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.509073709137738]