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.001356/0.001356, allocations: 91.5 kB / 21.2 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.001355/0.001355, allocations: 160.5 kB / 24.55 MB, free: 20 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.9417/0.9417, allocations: 177 MB / 204.8 MB, free: 5.59 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.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.753e-06/1.753e-06, allocations: 0 / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/2.008e-05, allocations: 7.719 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2245/0.2245, allocations: 147.4 MB / 420.3 MB, free: 14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.2258, allocations: 1.591 MB / 421.9 MB, free: 12.42 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.364e-05/0.2259, allocations: 0 / 421.9 MB, free: 12.42 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.2263, allocations: 66.41 kB / 422 MB, free: 12.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.2266, allocations: 176.8 kB / 422.2 MB, free: 12.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.2287, allocations: 1.061 MB / 423.2 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003474/0.229, allocations: 366.5 kB / 423.6 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.2291, allocations: 9.812 kB / 423.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.2293, allocations: 219.3 kB / 423.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.2295, allocations: 123.6 kB / 423.9 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.2295, allocations: 12 kB / 423.9 MB, free: 10.42 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.2311, allocations: 1.368 MB / 425.3 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.2312, allocations: 75.78 kB / 425.4 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.034e-05/0.2313, allocations: 79.88 kB / 425.5 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.2325, allocations: 1.091 MB / 426.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2325, allocations: 0 / 426.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2325, allocations: 0 / 426.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.2325, allocations: 4 kB / 426.6 MB, free: 7.797 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.001062/0.2335, allocations: 0.7144 MB / 427.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.2336, allocations: 11.98 kB / 427.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.2337, allocations: 48.7 kB / 427.3 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.2339, allocations: 165.7 kB / 427.5 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.2339, allocations: 16.27 kB / 427.5 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.2339, allocations: 19.95 kB / 427.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.2343, allocations: 322.6 kB / 427.8 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2343, allocations: 4 kB / 427.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.2343, allocations: 4 kB / 427.8 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.2343, allocations: 8 kB / 427.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/0.2346, allocations: 152.5 kB / 428 MB, free: 6.246 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.0008911/0.2355, allocations: 0.6824 MB / 428.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.2358, allocations: 178.2 kB / 428.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.2359, allocations: 104.4 kB / 429 MB, free: 5.207 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.236, allocations: 51.97 kB / 429 MB, free: 5.156 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.236, allocations: 41.39 kB / 429.1 MB, free: 5.105 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.523e-06/0.236, allocations: 0 / 429.1 MB, free: 5.105 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009626/0.237, allocations: 0.4963 MB / 429.5 MB, free: 4.605 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.237, allocations: 81.11 kB / 429.6 MB, free: 4.508 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.2371, allocations: 205.1 kB / 429.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.2372, allocations: 33.7 kB / 429.9 MB, free: 4.254 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.2372, allocations: 163.7 kB / 430 MB, free: 4.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.154e-05/0.2373, allocations: 130.9 kB / 430.1 MB, free: 3.961 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.474e-05/0.2374, allocations: 71.34 kB / 430.2 MB, free: 3.883 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2375, allocations: 0.5079 MB / 430.7 MB, free: 3.363 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.2376, allocations: 79.89 kB / 430.8 MB, free: 3.285 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.2378, allocations: 173.1 kB / 431 MB, free: 3.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.2381, allocations: 273.1 kB / 431.2 MB, free: 2.777 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2381, allocations: 0 / 431.2 MB, free: 2.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003737/0.2384, allocations: 318.9 kB / 431.6 MB, free: 2.461 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2384, allocations: 8 kB / 431.6 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2384, allocations: 0 / 431.6 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2385, allocations: 4 kB / 431.6 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.2387, allocations: 79.89 kB / 431.6 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2387, allocations: 7.938 kB / 431.6 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.2388, allocations: 29.16 kB / 431.7 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.2388, allocations: 16 kB / 431.7 MB, free: 2.32 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 9.641e-05/0.2389, allocations: 176.5 kB / 431.9 MB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.239, allocations: 31.84 kB / 431.9 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.2392, allocations: 169.5 kB / 432.1 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.2392, allocations: 7.984 kB / 432.1 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.2392, allocations: 4 kB / 432.1 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2392, allocations: 0 / 432.1 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006872/0.2399, allocations: 0.6289 MB / 432.7 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2399, allocations: 8.156 kB / 432.7 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.2401, allocations: 68.64 kB / 432.8 MB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.2401, allocations: 4 kB / 432.8 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.2401, allocations: 11.98 kB / 432.8 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2401, allocations: 4 kB / 432.8 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.2401, allocations: 11.88 kB / 432.8 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005391/0.2406, allocations: 0.6512 MB / 433.5 MB, free: 444 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.2407, allocations: 39.83 kB / 433.5 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.2407, allocations: 11.98 kB / 433.5 MB, free: 392 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.2409, allocations: 12 kB / 433.5 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.2409, allocations: 35.83 kB / 433.6 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.2409, allocations: 15.98 kB / 433.6 MB, free: 328 kB / 378.7 MB Notification: Performance of sorting global known variables: time 4.971e-05/0.241, allocations: 146 kB / 433.7 MB, free: 184 kB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.241, allocations: 0 / 433.7 MB, free: 184 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003632/0.2413, allocations: 151.7 kB / 433.9 MB, free: 32 kB / 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.149/0.3904, allocations: 242.7 kB / 434.1 MB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004947/0.3909, allocations: 248.9 kB / 434.3 MB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/0.3909, allocations: 0.8125 kB / 434.3 MB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.391, allocations: 140.5 kB / 434.5 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.3916, allocations: 117.8 kB / 434.6 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.3926, allocations: 0.5317 MB / 435.1 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.746e-05/0.3927, allocations: 90.92 kB / 435.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002301/0.3929, allocations: 74.48 kB / 435.3 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.92e-05/0.393, allocations: 38.86 kB / 435.3 MB, free: 11.78 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.393, allocations: 0 / 435.3 MB, free: 11.78 MB / 378.7 MB Notification: Performance of Templates: time 0.009067/0.4021, allocations: 7.231 MB / 442.6 MB, free: 11.34 MB / 378.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 -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: 3.1898489580489695]