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.001006/0.001006, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009514/0.0009514, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 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.9826/0.9826, allocations: 177 MB / 205.2 MB, free: 5.051 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.052e-06/1.052e-06, allocations: 3.938 kB / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.334e-05, allocations: 2.312 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2146/0.2147, allocations: 146.9 MB / 420.3 MB, free: 14.19 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.2159, allocations: 1.612 MB / 421.9 MB, free: 12.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.138e-05/0.216, allocations: 4 kB / 421.9 MB, free: 12.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.2163, allocations: 58.61 kB / 421.9 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.2166, allocations: 179.7 kB / 422.1 MB, free: 12.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.2184, allocations: 1.032 MB / 423.1 MB, free: 11.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.2188, allocations: 362.5 kB / 423.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.2188, allocations: 10.47 kB / 423.5 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.219, allocations: 219.3 kB / 423.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.2192, allocations: 115.7 kB / 423.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.2192, allocations: 12 kB / 423.8 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.2208, allocations: 1.43 MB / 425.3 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.749e-05/0.2209, allocations: 71.8 kB / 425.3 MB, free: 9.125 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.794e-05/0.221, allocations: 83.88 kB / 425.4 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.222, allocations: 1.083 MB / 426.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.222, allocations: 4 kB / 426.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.222, allocations: 0 / 426.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.222, allocations: 0 / 426.5 MB, free: 7.953 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.00092/0.223, allocations: 0.5974 MB / 427.1 MB, free: 7.332 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.223, allocations: 15.98 kB / 427.1 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.2231, allocations: 32.86 kB / 427.2 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.2233, allocations: 153.7 kB / 427.3 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2233, allocations: 16.27 kB / 427.3 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.2233, allocations: 19.98 kB / 427.3 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.2236, allocations: 303.8 kB / 427.6 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2236, allocations: 0 / 427.6 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.2236, allocations: 8 kB / 427.7 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.2236, allocations: 11.98 kB / 427.7 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.2238, allocations: 106.6 kB / 427.8 MB, free: 6.613 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.000669/0.2244, allocations: 0.5006 MB / 428.3 MB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.2247, allocations: 133.1 kB / 428.4 MB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.048e-05/0.2247, allocations: 78.3 kB / 428.5 MB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.2248, allocations: 53.08 kB / 428.5 MB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.2249, allocations: 38.5 kB / 428.6 MB, free: 5.754 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.402e-06/0.2249, allocations: 0 / 428.6 MB, free: 5.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006799/0.2255, allocations: 370.1 kB / 428.9 MB, free: 5.387 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.2256, allocations: 89.05 kB / 429 MB, free: 5.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.622e-05/0.2256, allocations: 142.6 kB / 429.2 MB, free: 5.129 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.2257, allocations: 33.7 kB / 429.2 MB, free: 5.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.2257, allocations: 112.8 kB / 429.3 MB, free: 4.977 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.926e-05/0.2258, allocations: 130.8 kB / 429.4 MB, free: 4.848 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.2258, allocations: 65.66 kB / 429.5 MB, free: 4.777 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.723e-05/0.2259, allocations: 330.8 kB / 429.8 MB, free: 4.445 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.864e-05/0.226, allocations: 54.81 kB / 429.9 MB, free: 4.391 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.335e-05/0.2261, allocations: 123.6 kB / 430 MB, free: 4.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.2262, allocations: 207.4 kB / 430.2 MB, free: 4.012 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2262, allocations: 0 / 430.2 MB, free: 4.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002316/0.2265, allocations: 241.2 kB / 430.4 MB, free: 3.773 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.2265, allocations: 4 kB / 430.4 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2265, allocations: 4 kB / 430.4 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2265, allocations: 4 kB / 430.4 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.2267, allocations: 88.69 kB / 430.5 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2267, allocations: 4.219 kB / 430.5 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.2268, allocations: 27.89 kB / 430.6 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.2268, allocations: 11.98 kB / 430.6 MB, free: 3.633 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.067e-05/0.2269, allocations: 132.5 kB / 430.7 MB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.227, allocations: 23.98 kB / 430.7 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.2271, allocations: 128.5 kB / 430.8 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2271, allocations: 4 kB / 430.8 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2271, allocations: 10.5 kB / 430.9 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2271, allocations: 3.984 kB / 430.9 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005342/0.2277, allocations: 447.9 kB / 431.3 MB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.2277, allocations: 4 kB / 431.3 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.2279, allocations: 75.89 kB / 431.4 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.2279, allocations: 4 kB / 431.4 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.2279, allocations: 11.98 kB / 431.4 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2279, allocations: 4 kB / 431.4 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2279, allocations: 4.562 kB / 431.4 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.2283, allocations: 471.5 kB / 431.9 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.2283, allocations: 35.81 kB / 431.9 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.2283, allocations: 8 kB / 431.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.2285, allocations: 15.98 kB / 431.9 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.2285, allocations: 28.67 kB / 431.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.2285, allocations: 15.98 kB / 432 MB, free: 2.148 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.028e-05/0.2285, allocations: 22.56 kB / 432 MB, free: 2.125 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2285, allocations: 0 / 432 MB, free: 2.125 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003403/0.2289, allocations: 155.7 kB / 432.1 MB, free: 1.973 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.0002998/0.2292, allocations: 231.8 kB / 432.4 MB, free: 1.734 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.2294, allocations: 193.1 kB / 432.6 MB, free: 1.543 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2294, allocations: 0 / 432.6 MB, free: 1.543 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.594e-05/0.2295, allocations: 115.9 kB / 432.7 MB, free: 1.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.2299, allocations: 109.9 kB / 432.8 MB, free: 1.336 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008225/0.2307, allocations: 0.511 MB / 433.3 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.261e-05/0.2307, allocations: 94.47 kB / 433.4 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.2309, allocations: 62.25 kB / 433.4 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/0.2312, allocations: 135.2 kB / 433.6 MB, free: 496 kB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2312, allocations: 0 / 433.6 MB, free: 496 kB / 378.7 MB Notification: Performance of Templates: time 0.1276/0.3587, allocations: 7.397 MB / 441 MB, free: 12.51 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 -s gbode -gbm=radauIIA3 -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: 2.913739380892366]