Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.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.001864/0.001864, allocations: 83.23 kB / 20.68 MB, free: 1.035 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.001462/0.001462, allocations: 157.9 kB / 23.95 MB, free: 4.168 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.511/1.511, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.692e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1757/0.1758, allocations: 133.3 MB / 458.3 MB, free: 15.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.1778, allocations: 1.433 MB / 459.7 MB, free: 13.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.043e-05/0.1779, allocations: 4 kB / 459.7 MB, free: 13.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.1783, allocations: 51.62 kB / 459.8 MB, free: 13.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004649/0.1787, allocations: 182.7 kB / 460 MB, free: 13.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003372/0.1821, allocations: 1.069 MB / 461 MB, free: 12.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005023/0.1826, allocations: 366.2 kB / 461.4 MB, free: 12.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.1827, allocations: 21.73 kB / 461.4 MB, free: 12.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003658/0.183, allocations: 215.3 kB / 461.6 MB, free: 11.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.1833, allocations: 119.7 kB / 461.7 MB, free: 11.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.1833, allocations: 12 kB / 461.8 MB, free: 11.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/0.186, allocations: 1.375 MB / 463.1 MB, free: 10.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.1861, allocations: 71.84 kB / 463.2 MB, free: 10.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.1863, allocations: 83.8 kB / 463.3 MB, free: 10.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.1882, allocations: 1.13 MB / 464.4 MB, free: 9.164 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1882, allocations: 4 kB / 464.4 MB, free: 9.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1882, allocations: 0 / 464.4 MB, free: 9.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1882, allocations: 0 / 464.4 MB, free: 9.16 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001897/0.1901, allocations: 0.6329 MB / 465 MB, free: 8.496 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1901, allocations: 11.98 kB / 465.1 MB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.1903, allocations: 24.83 kB / 465.1 MB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.1906, allocations: 165.3 kB / 465.2 MB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.1906, allocations: 16.33 kB / 465.3 MB, free: 8.258 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/0.1907, allocations: 19.95 kB / 465.3 MB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000709/0.1914, allocations: 372.2 kB / 465.6 MB, free: 7.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1914, allocations: 0 / 465.6 MB, free: 7.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.1914, allocations: 4 kB / 465.6 MB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.1915, allocations: 8 kB / 465.7 MB, free: 7.828 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000726/0.1922, allocations: 259.8 kB / 465.9 MB, free: 7.574 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.00158/0.1938, allocations: 0.6241 MB / 466.5 MB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007179/0.1945, allocations: 205.2 kB / 466.7 MB, free: 6.691 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.1948, allocations: 129.6 kB / 466.9 MB, free: 6.559 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000227/0.1951, allocations: 55.95 kB / 466.9 MB, free: 6.504 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.1951, allocations: 42.5 kB / 467 MB, free: 6.453 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/0.1951, allocations: 0 / 467 MB, free: 6.453 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.002749/0.1979, allocations: 0.6767 MB / 467.6 MB, free: 5.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.1979, allocations: 85.09 kB / 467.7 MB, free: 5.668 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.1981, allocations: 141.8 kB / 467.9 MB, free: 5.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.1981, allocations: 33.64 kB / 467.9 MB, free: 5.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.576e-05/0.1982, allocations: 116.9 kB / 468 MB, free: 5.363 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.1983, allocations: 130.9 kB / 468.1 MB, free: 5.234 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.1984, allocations: 69.64 kB / 468.2 MB, free: 5.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1986, allocations: 330.8 kB / 468.5 MB, free: 4.828 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.199, allocations: 131.9 kB / 468.6 MB, free: 4.699 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000505/0.1995, allocations: 211.5 kB / 468.9 MB, free: 4.465 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000948/0.2005, allocations: 362.5 kB / 469.2 MB, free: 4.086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2005, allocations: 3.938 kB / 469.2 MB, free: 4.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001181/0.2016, allocations: 407.9 kB / 469.6 MB, free: 3.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.2017, allocations: 10.81 kB / 469.6 MB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.2017, allocations: 0 / 469.6 MB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.2017, allocations: 4 kB / 469.6 MB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005262/0.2022, allocations: 83.88 kB / 469.7 MB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.2022, allocations: 7.984 kB / 469.7 MB, free: 3.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.2026, allocations: 36.09 kB / 469.7 MB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/0.2026, allocations: 19.98 kB / 469.8 MB, free: 3.523 MB / 430.1 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.0001831/0.2028, allocations: 137.7 kB / 469.9 MB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-05/0.2029, allocations: 15.91 kB / 469.9 MB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/0.2033, allocations: 197.1 kB / 470.1 MB, free: 3.164 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.2033, allocations: 4 kB / 470.1 MB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2033, allocations: 0 / 470.1 MB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.2033, allocations: 7.984 kB / 470.1 MB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.2054, allocations: 0.6617 MB / 470.8 MB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.2054, allocations: 4 kB / 470.8 MB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004829/0.2059, allocations: 75.89 kB / 470.9 MB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.2059, allocations: 8.094 kB / 470.9 MB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.2059, allocations: 19.98 kB / 470.9 MB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.2059, allocations: 7.938 kB / 470.9 MB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2059, allocations: 0 / 470.9 MB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.2076, allocations: 0.711 MB / 471.6 MB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.2077, allocations: 47.75 kB / 471.7 MB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/0.2077, allocations: 8 kB / 471.7 MB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/0.2081, allocations: 27.92 kB / 471.7 MB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.2082, allocations: 23.95 kB / 471.7 MB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-05/0.2082, allocations: 15.98 kB / 471.7 MB, free: 1.457 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.671e-05/0.2083, allocations: 103.3 kB / 471.8 MB, free: 1.355 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2083, allocations: 8 kB / 471.8 MB, free: 1.348 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007088/0.209, allocations: 151.7 kB / 472 MB, free: 1.199 MB / 430.1 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 (38): * Single equations (assignments): 38 * 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.0006214/0.2096, allocations: 246.7 kB / 472.2 MB, free: 0.9492 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.2107, allocations: 338.2 kB / 472.6 MB, free: 0.6211 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2107, allocations: 0 / 472.6 MB, free: 0.6211 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004676/0.2111, allocations: 168.5 kB / 472.7 MB, free: 468 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007847/0.2119, allocations: 107.7 kB / 472.8 MB, free: 360 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1336/0.3455, allocations: 0.5613 MB / 473.4 MB, free: 143.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.3457, allocations: 138.8 kB / 473.5 MB, free: 143.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003652/0.346, allocations: 76.3 kB / 473.6 MB, free: 143.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.3462, allocations: 37.39 kB / 473.6 MB, free: 143.5 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3462, allocations: 0.5 kB / 473.6 MB, free: 143.5 MB / 430.1 MB Notification: Performance of Templates: time 0.0108/0.357, allocations: 6.461 MB / 480.1 MB, free: 141.6 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.MoistAir.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: 4.856413699686527]