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.0007518/0.0007518, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009557/0.001707, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006886/0.0006886, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009239/0.001613, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.8816/0.8816, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08148/0.963, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.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.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.994e-06/1.994e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.085e-05, allocations: 6.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2268/0.2268, allocations: 147.3 MB / 392.3 MB, free: 4.816 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.2282, allocations: 1.605 MB / 393.9 MB, free: 3.219 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.2283, allocations: 0 / 393.9 MB, free: 3.219 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.2286, allocations: 66.41 kB / 394 MB, free: 3.156 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002704/0.2288, allocations: 176.7 kB / 394.1 MB, free: 2.988 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.2311, allocations: 1.021 MB / 395.2 MB, free: 1.984 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.2314, allocations: 358.5 kB / 395.5 MB, free: 1.633 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.2315, allocations: 14.45 kB / 395.5 MB, free: 1.613 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.2317, allocations: 219.4 kB / 395.7 MB, free: 1.398 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004078/0.2321, allocations: 115.7 kB / 395.8 MB, free: 1.285 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.2322, allocations: 12 kB / 395.9 MB, free: 1.273 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.2339, allocations: 1.438 MB / 397.3 MB, free: 15.83 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.717e-05/0.234, allocations: 63.83 kB / 397.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.852e-05/0.234, allocations: 63.94 kB / 397.4 MB, free: 15.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.2352, allocations: 0.9001 MB / 398.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.24e-05/0.2352, allocations: 0 / 398.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2352, allocations: 3.938 kB / 398.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.2352, allocations: 4 kB / 398.3 MB, free: 14.8 MB / 378.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.001084/0.2363, allocations: 0.793 MB / 399.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.2363, allocations: 8.625 kB / 399.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.2364, allocations: 40.84 kB / 399.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.2366, allocations: 154.3 kB / 399.3 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.2366, allocations: 16.27 kB / 399.3 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.2367, allocations: 16 kB / 399.4 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.2369, allocations: 311.8 kB / 399.7 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2369, allocations: 0 / 399.7 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.2369, allocations: 11.98 kB / 399.7 MB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.237, allocations: 4 kB / 399.7 MB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.2371, allocations: 111.2 kB / 399.8 MB, free: 13.24 MB / 378.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.000693/0.2378, allocations: 0.4982 MB / 400.3 MB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.238, allocations: 133.1 kB / 400.4 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.261e-05/0.2381, allocations: 79.28 kB / 400.5 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.2382, allocations: 55.97 kB / 400.5 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.2383, allocations: 42.48 kB / 400.6 MB, free: 12.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.372e-06/0.2383, allocations: 0 / 400.6 MB, free: 12.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006645/0.2389, allocations: 366.9 kB / 400.9 MB, free: 12.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.239, allocations: 85.05 kB / 401 MB, free: 11.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.925e-05/0.239, allocations: 142.6 kB / 401.2 MB, free: 11.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.239, allocations: 33.7 kB / 401.2 MB, free: 11.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.2391, allocations: 108.9 kB / 401.3 MB, free: 11.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.817e-05/0.2392, allocations: 134.8 kB / 401.4 MB, free: 11.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-05/0.2392, allocations: 61.66 kB / 401.5 MB, free: 11.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.08e-05/0.2393, allocations: 338.8 kB / 401.8 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.599e-05/0.2394, allocations: 58.73 kB / 401.9 MB, free: 11.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.815e-05/0.2394, allocations: 115.7 kB / 402 MB, free: 10.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.2396, allocations: 217 kB / 402.2 MB, free: 10.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2396, allocations: 0 / 402.2 MB, free: 10.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002213/0.2398, allocations: 229.5 kB / 402.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.2399, allocations: 4.219 kB / 402.4 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2399, allocations: 8 kB / 402.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.2399, allocations: 5.312 kB / 402.5 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.2401, allocations: 91.81 kB / 402.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.2401, allocations: 7.938 kB / 402.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.2402, allocations: 23.94 kB / 402.6 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.2402, allocations: 8 kB / 402.6 MB, free: 10.26 MB / 378.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 8.14e-05/0.2403, allocations: 136.5 kB / 402.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.2404, allocations: 27.97 kB / 402.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.2405, allocations: 131.5 kB / 402.9 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-06/0.2405, allocations: 7.984 kB / 402.9 MB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2405, allocations: 3.938 kB / 402.9 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2405, allocations: 0 / 402.9 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007687/0.2413, allocations: 453.1 kB / 403.3 MB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2413, allocations: 0.875 kB / 403.3 MB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.2415, allocations: 87.88 kB / 403.4 MB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.2415, allocations: 31.81 kB / 403.4 MB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2416, allocations: 4 kB / 403.4 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.2416, allocations: 12.16 kB / 403.5 MB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2416, allocations: 4 kB / 403.5 MB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2416, allocations: 6.375 kB / 403.5 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.2419, allocations: 471.4 kB / 403.9 MB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.2419, allocations: 8 kB / 403.9 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.2421, allocations: 15.98 kB / 403.9 MB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.2421, allocations: 32.7 kB / 404 MB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.2421, allocations: 12 kB / 404 MB, free: 8.766 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.182e-05/0.2421, allocations: 28.81 kB / 404 MB, free: 8.734 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2421, allocations: 0 / 404 MB, free: 8.734 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004416/0.2426, allocations: 215.5 kB / 404.2 MB, free: 8.523 MB / 378.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 (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.0004395/0.243, allocations: 325.5 kB / 404.5 MB, free: 8.191 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.2432, allocations: 194.4 kB / 404.7 MB, free: 8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.2433, allocations: 11.98 kB / 404.8 MB, free: 7.988 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.337e-05/0.2434, allocations: 113.3 kB / 404.9 MB, free: 7.875 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.2437, allocations: 134.6 kB / 405 MB, free: 7.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.246, allocations: 0.4999 MB / 405.5 MB, free: 7.207 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.62e-05/0.2461, allocations: 94.52 kB / 405.6 MB, free: 7.094 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.2463, allocations: 62.25 kB / 405.6 MB, free: 7.035 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/0.2465, allocations: 137.2 kB / 405.8 MB, free: 6.902 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2465, allocations: 3.938 kB / 405.8 MB, free: 6.898 MB / 378.7 MB Notification: Performance of Templates: time 0.01006/0.2566, allocations: 8.709 MB / 414.5 MB, free: 14.31 MB / 394.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.880283965729177]