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.001358/0.001358, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001703/0.001703, allocations: 160.9 kB / 24.99 MB, free: 8.801 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.9404/0.9404, allocations: 177 MB / 205.2 MB, free: 5.598 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.383e-06/1.383e-06, allocations: 0 / 273 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.799e-05, allocations: 2.312 kB / 273 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.219/0.219, allocations: 147.2 MB / 420.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.2203, allocations: 1.578 MB / 421.7 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.645e-05/0.2204, allocations: 7.938 kB / 421.7 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.2208, allocations: 62.05 kB / 421.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.221, allocations: 169.6 kB / 422 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.2232, allocations: 1.077 MB / 423 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.2235, allocations: 354.5 kB / 423.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.17e-05/0.2235, allocations: 13.81 kB / 423.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.2238, allocations: 211.4 kB / 423.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.224, allocations: 123.7 kB / 423.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.224, allocations: 12 kB / 423.7 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.2256, allocations: 1.38 MB / 425.1 MB, free: 9.391 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.317e-05/0.2257, allocations: 71.84 kB / 425.2 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.492e-05/0.2258, allocations: 79.83 kB / 425.3 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.2269, allocations: 1.087 MB / 426.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.227, allocations: 3.938 kB / 426.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.227, allocations: 0 / 426.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.227, allocations: 0 / 426.3 MB, free: 8.148 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.00117/0.2281, allocations: 0.7183 MB / 427.1 MB, free: 7.395 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2282, allocations: 15.98 kB / 427.1 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.2283, allocations: 40.78 kB / 427.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.2286, allocations: 164.5 kB / 427.3 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.2286, allocations: 12.27 kB / 427.3 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.2286, allocations: 23.94 kB / 427.3 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.229, allocations: 326.6 kB / 427.6 MB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.229, allocations: 0 / 427.6 MB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.229, allocations: 8 kB / 427.6 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/0.229, allocations: 11.98 kB / 427.7 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.2293, allocations: 144.6 kB / 427.8 MB, free: 6.598 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.00089/0.2302, allocations: 0.679 MB / 428.5 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.2305, allocations: 186.2 kB / 428.7 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.2306, allocations: 91.33 kB / 428.7 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.2307, allocations: 56.44 kB / 428.8 MB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.2307, allocations: 45.33 kB / 428.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.363e-06/0.2307, allocations: 4 kB / 428.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009786/0.2317, allocations: 0.4958 MB / 429.3 MB, free: 4.953 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.2318, allocations: 81.11 kB / 429.4 MB, free: 4.855 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.474e-05/0.2319, allocations: 201.4 kB / 429.6 MB, free: 4.645 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.2319, allocations: 29.7 kB / 429.6 MB, free: 4.609 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.2319, allocations: 163.7 kB / 429.8 MB, free: 4.445 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.984e-05/0.232, allocations: 146.8 kB / 430 MB, free: 4.301 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.01e-05/0.2321, allocations: 71.34 kB / 430 MB, free: 4.223 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000339/0.2324, allocations: 0.5001 MB / 430.5 MB, free: 3.711 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.2325, allocations: 75.95 kB / 430.6 MB, free: 3.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.2327, allocations: 181.1 kB / 430.8 MB, free: 3.422 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.233, allocations: 277.3 kB / 431 MB, free: 3.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.233, allocations: 0 / 431 MB, free: 3.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003807/0.2334, allocations: 311.8 kB / 431.3 MB, free: 2.809 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.2334, allocations: 8 kB / 431.4 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2334, allocations: 0 / 431.4 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.2334, allocations: 4 kB / 431.4 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.2336, allocations: 87.88 kB / 431.4 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2336, allocations: 7.938 kB / 431.5 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.2338, allocations: 19.89 kB / 431.5 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.2338, allocations: 19.98 kB / 431.5 MB, free: 2.664 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.149e-05/0.2339, allocations: 176.7 kB / 431.7 MB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.2339, allocations: 31.84 kB / 431.7 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.2341, allocations: 154.8 kB / 431.8 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2341, allocations: 4 kB / 431.9 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2341, allocations: 8 kB / 431.9 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2341, allocations: 3.984 kB / 431.9 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007283/0.2349, allocations: 0.6333 MB / 432.5 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2349, allocations: 0 / 432.5 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.2351, allocations: 71.89 kB / 432.6 MB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.2351, allocations: 8.156 kB / 432.6 MB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.2351, allocations: 13.67 kB / 432.6 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.2351, allocations: 11.88 kB / 432.6 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2351, allocations: 3.938 kB / 432.6 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005548/0.2357, allocations: 0.6543 MB / 433.3 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.2357, allocations: 39.86 kB / 433.3 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.2358, allocations: 11.94 kB / 433.3 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.2359, allocations: 20.03 kB / 433.3 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.2359, allocations: 27.89 kB / 433.4 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.236, allocations: 15.98 kB / 433.4 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.571e-05/0.236, allocations: 142 kB / 433.5 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.236, allocations: 0 / 433.5 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003682/0.2364, allocations: 155.7 kB / 433.7 MB, free: 384 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.0003242/0.2367, allocations: 254.7 kB / 433.9 MB, free: 116 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0852/0.3219, allocations: 244.4 kB / 434.1 MB, free: 139.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.3219, allocations: 0 / 434.1 MB, free: 139.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.3221, allocations: 141.8 kB / 434.3 MB, free: 139.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/0.3226, allocations: 118.7 kB / 434.4 MB, free: 139.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.3238, allocations: 0.5317 MB / 434.9 MB, free: 139.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.756e-05/0.3238, allocations: 88.3 kB / 435 MB, free: 139.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002021/0.324, allocations: 73.06 kB / 435.1 MB, free: 139.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.3241, allocations: 35.88 kB / 435.1 MB, free: 139.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3241, allocations: 4.656 kB / 435.1 MB, free: 139.5 MB / 378.7 MB Notification: Performance of Templates: time 0.007825/0.332, allocations: 6.545 MB / 441.7 MB, free: 138 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.0864193940069526]