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.001213/0.001213, allocations: 81.91 kB / 21.42 MB, free: 3.066 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.001222/0.001222, allocations: 162 kB / 24.82 MB, free: 9.312 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.9299/0.9299, allocations: 177 MB / 205.1 MB, free: 5.477 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.332e-06/1.332e-06, allocations: 0 / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.122e-05, allocations: 5.266 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2197/0.2197, allocations: 144.7 MB / 418 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.2214, allocations: 1.57 MB / 419.6 MB, free: 14.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.451e-05/0.2215, allocations: 4 kB / 419.6 MB, free: 14.94 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.2218, allocations: 62.42 kB / 419.6 MB, free: 14.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.2221, allocations: 181 kB / 419.8 MB, free: 14.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00201/0.2242, allocations: 1.07 MB / 420.9 MB, free: 13.65 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.2245, allocations: 358.5 kB / 421.2 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.2245, allocations: 9.797 kB / 421.3 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002868/0.2248, allocations: 215.4 kB / 421.5 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.225, allocations: 127.6 kB / 421.6 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.225, allocations: 12 kB / 421.6 MB, free: 12.94 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.2267, allocations: 1.368 MB / 423 MB, free: 11.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.112e-05/0.2268, allocations: 75.78 kB / 423 MB, free: 11.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.753e-05/0.2269, allocations: 79.89 kB / 423.1 MB, free: 11.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.2284, allocations: 1.087 MB / 424.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2284, allocations: 0 / 424.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2284, allocations: 0 / 424.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.2284, allocations: 4 kB / 424.2 MB, free: 10.32 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.001081/0.2294, allocations: 0.7182 MB / 424.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2295, allocations: 15.98 kB / 424.9 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.2296, allocations: 40.78 kB / 425 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.2298, allocations: 164.5 kB / 425.1 MB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.2298, allocations: 20.2 kB / 425.2 MB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.2299, allocations: 19.95 kB / 425.2 MB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005588/0.2304, allocations: 310.6 kB / 425.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2304, allocations: 0 / 425.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.2304, allocations: 8 kB / 425.5 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/0.2305, allocations: 7.984 kB / 425.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.2306, allocations: 127.7 kB / 425.6 MB, free: 8.801 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.000799/0.2314, allocations: 0.6441 MB / 426.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.2317, allocations: 170.2 kB / 426.4 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/0.2318, allocations: 80.41 kB / 426.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.2319, allocations: 67.88 kB / 426.6 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.2319, allocations: 33.39 kB / 426.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.764e-06/0.232, allocations: 0 / 426.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008192/0.2328, allocations: 440 kB / 427 MB, free: 7.297 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.2328, allocations: 85.05 kB / 427.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.2329, allocations: 197.1 kB / 427.3 MB, free: 6.988 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.2329, allocations: 29.7 kB / 427.4 MB, free: 6.953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.233, allocations: 171.6 kB / 427.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.773e-05/0.233, allocations: 126.9 kB / 427.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.211e-05/0.2331, allocations: 79.3 kB / 427.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2332, allocations: 0.5001 MB / 428.2 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.121e-05/0.2333, allocations: 59.95 kB / 428.3 MB, free: 6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.2334, allocations: 165 kB / 428.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.2337, allocations: 237.2 kB / 428.7 MB, free: 5.535 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.2337, allocations: 4.438 kB / 428.7 MB, free: 5.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003125/0.234, allocations: 285.2 kB / 429 MB, free: 5.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.234, allocations: 4 kB / 429 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.234, allocations: 4 kB / 429 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.234, allocations: 4 kB / 429 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.2342, allocations: 80.77 kB / 429 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2342, allocations: 11.92 kB / 429.1 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.2344, allocations: 20.16 kB / 429.1 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.2344, allocations: 15.98 kB / 429.1 MB, free: 5.109 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.319e-05/0.2345, allocations: 172.5 kB / 429.3 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.279e-05/0.2345, allocations: 39.8 kB / 429.3 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.2347, allocations: 144.1 kB / 429.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2347, allocations: 8 kB / 429.4 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.2347, allocations: 0 / 429.4 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.2347, allocations: 3.938 kB / 429.5 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006671/0.2354, allocations: 0.5915 MB / 430 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2354, allocations: 4 kB / 430 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.2356, allocations: 67.91 kB / 430.1 MB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.2356, allocations: 4 kB / 430.1 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.2356, allocations: 11.98 kB / 430.1 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.2356, allocations: 4 kB / 430.1 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2356, allocations: 11.12 kB / 430.1 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004653/0.2361, allocations: 0.6152 MB / 430.8 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.2362, allocations: 35.86 kB / 430.8 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.2362, allocations: 8 kB / 430.8 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.2363, allocations: 16 kB / 430.8 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.2364, allocations: 31.83 kB / 430.8 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.2364, allocations: 11.98 kB / 430.9 MB, free: 3.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.502e-05/0.2364, allocations: 146.1 kB / 431 MB, free: 3.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2364, allocations: 0 / 431 MB, free: 3.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004189/0.2368, allocations: 151.7 kB / 431.2 MB, free: 2.941 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.0003337/0.2372, allocations: 254.7 kB / 431.4 MB, free: 2.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.2374, allocations: 221.1 kB / 431.6 MB, free: 2.461 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2375, allocations: 7.938 kB / 431.6 MB, free: 2.453 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.2376, allocations: 119.5 kB / 431.7 MB, free: 2.332 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.238, allocations: 122.5 kB / 431.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.2392, allocations: 0.5293 MB / 432.4 MB, free: 1.648 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.584e-05/0.2392, allocations: 90.52 kB / 432.5 MB, free: 1.543 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001935/0.2394, allocations: 54.28 kB / 432.5 MB, free: 1.492 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.2397, allocations: 174.1 kB / 432.7 MB, free: 1.32 MB / 378.7 MB Notification: Performance of SimCode: time 9.71e-07/0.2397, allocations: 4 kB / 432.7 MB, free: 1.316 MB / 378.7 MB Notification: Performance of Templates: time 0.1347/0.3743, allocations: 7.414 MB / 440.1 MB, free: 14.23 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.046470590867102]