Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.MoistAir.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.001778/0.001778, allocations: 82.78 kB / 20.68 MB, free: 1.039 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.002156/0.002156, allocations: 165.3 kB / 23.96 MB, free: 4.164 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.521/1.521, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 325 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.41e-05, allocations: 2.281 kB / 325 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1739/0.174, allocations: 133.3 MB / 458.4 MB, free: 15.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1759, allocations: 1.448 MB / 459.8 MB, free: 13.92 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.65e-05/0.176, allocations: 0 / 459.8 MB, free: 13.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000344/0.1763, allocations: 51.67 kB / 459.9 MB, free: 13.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004219/0.1767, allocations: 178.8 kB / 460 MB, free: 13.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003206/0.1799, allocations: 1.075 MB / 461.1 MB, free: 12.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004799/0.1804, allocations: 366.2 kB / 461.5 MB, free: 12.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.1805, allocations: 5.812 kB / 461.5 MB, free: 12.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003524/0.1808, allocations: 211.4 kB / 461.7 MB, free: 12.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.1811, allocations: 127.6 kB / 461.8 MB, free: 11.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.1811, allocations: 12 kB / 461.8 MB, free: 11.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.1836, allocations: 1.376 MB / 463.2 MB, free: 10.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.1837, allocations: 75.78 kB / 463.3 MB, free: 10.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.1838, allocations: 83.81 kB / 463.3 MB, free: 10.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.1856, allocations: 1.126 MB / 464.5 MB, free: 9.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1856, allocations: 0 / 464.5 MB, free: 9.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1856, allocations: 0 / 464.5 MB, free: 9.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1856, allocations: 0 / 464.5 MB, free: 9.25 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.001753/0.1873, allocations: 0.6329 MB / 465.1 MB, free: 8.586 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1874, allocations: 12.03 kB / 465.1 MB, free: 8.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.1875, allocations: 20.84 kB / 465.1 MB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.1878, allocations: 165.2 kB / 465.3 MB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.1878, allocations: 20.33 kB / 465.3 MB, free: 8.348 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.652e-05/0.1878, allocations: 15.95 kB / 465.3 MB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006964/0.1885, allocations: 364.2 kB / 465.7 MB, free: 7.941 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1886, allocations: 0 / 465.7 MB, free: 7.941 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.1886, allocations: 8 kB / 465.7 MB, free: 7.934 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.1886, allocations: 7.938 kB / 465.7 MB, free: 7.926 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007151/0.1893, allocations: 267.7 kB / 466 MB, free: 7.664 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.001446/0.1908, allocations: 0.6203 MB / 466.6 MB, free: 7.004 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007174/0.1915, allocations: 209.2 kB / 466.8 MB, free: 6.781 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003477/0.1918, allocations: 125.6 kB / 466.9 MB, free: 6.652 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/0.192, allocations: 51.83 kB / 467 MB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.1921, allocations: 46.44 kB / 467 MB, free: 6.551 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.713e-06/0.1921, allocations: 0 / 467 MB, free: 6.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.002663/0.1947, allocations: 0.6836 MB / 467.7 MB, free: 5.863 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.1948, allocations: 81.11 kB / 467.8 MB, free: 5.766 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.1949, allocations: 137.8 kB / 467.9 MB, free: 5.621 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.195, allocations: 37.7 kB / 467.9 MB, free: 5.578 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.944e-05/0.1951, allocations: 108.9 kB / 468 MB, free: 5.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.1952, allocations: 130.9 kB / 468.2 MB, free: 5.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.1953, allocations: 73.62 kB / 468.2 MB, free: 5.262 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1955, allocations: 334.8 kB / 468.6 MB, free: 4.926 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004334/0.1959, allocations: 131.9 kB / 468.7 MB, free: 4.797 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/0.1964, allocations: 207.6 kB / 468.9 MB, free: 4.566 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009299/0.1974, allocations: 366.4 kB / 469.3 MB, free: 4.184 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1974, allocations: 4 kB / 469.3 MB, free: 4.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001087/0.1984, allocations: 416.3 kB / 469.7 MB, free: 3.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1985, allocations: 7.938 kB / 469.7 MB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.1985, allocations: 4 kB / 469.7 MB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1985, allocations: 8.219 kB / 469.7 MB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/0.199, allocations: 83.88 kB / 469.8 MB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.199, allocations: 7.938 kB / 469.8 MB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.1993, allocations: 31.88 kB / 469.8 MB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.1994, allocations: 11.98 kB / 469.8 MB, free: 3.617 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.0001645/0.1996, allocations: 142.4 kB / 470 MB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.1996, allocations: 19.91 kB / 470 MB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000404/0.2, allocations: 186.3 kB / 470.2 MB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.2, allocations: 4 kB / 470.2 MB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2001, allocations: 0 / 470.2 MB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.2001, allocations: 3.984 kB / 470.2 MB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.2019, allocations: 0.6716 MB / 470.8 MB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2019, allocations: 4.156 kB / 470.8 MB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004689/0.2024, allocations: 79.89 kB / 470.9 MB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/0.2024, allocations: 7.984 kB / 470.9 MB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.2024, allocations: 8 kB / 470.9 MB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.2024, allocations: 7.938 kB / 470.9 MB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2024, allocations: 3.938 kB / 471 MB, free: 2.422 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.204, allocations: 0.7032 MB / 471.7 MB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.2041, allocations: 51.78 kB / 471.7 MB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/0.2042, allocations: 8 kB / 471.7 MB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/0.2045, allocations: 27.98 kB / 471.7 MB, free: 1.598 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.2046, allocations: 27.89 kB / 471.8 MB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.2046, allocations: 19.98 kB / 471.8 MB, free: 1.551 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.377e-05/0.2047, allocations: 106.1 kB / 471.9 MB, free: 1.449 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2047, allocations: 0 / 471.9 MB, free: 1.449 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000613/0.2053, allocations: 151.7 kB / 472 MB, free: 1.301 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.0005595/0.2059, allocations: 250.7 kB / 472.3 MB, free: 1.047 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009758/0.2069, allocations: 339.7 kB / 472.6 MB, free: 0.7148 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2069, allocations: 0 / 472.6 MB, free: 0.7148 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000455/0.2073, allocations: 171.7 kB / 472.8 MB, free: 0.5469 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007814/0.2081, allocations: 104.1 kB / 472.9 MB, free: 456 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1424/0.3506, allocations: 0.5613 MB / 473.4 MB, free: 143.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.3507, allocations: 139.4 kB / 473.6 MB, free: 143.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004023/0.3511, allocations: 77.91 kB / 473.7 MB, free: 143.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.3513, allocations: 33.58 kB / 473.7 MB, free: 143.6 MB / 430.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3513, allocations: 3.969 kB / 473.7 MB, free: 143.6 MB / 430.1 MB Notification: Performance of Templates: time 0.01168/0.363, allocations: 6.475 MB / 480.2 MB, free: 141.7 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.872418902814388]