Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007555/0.0007555, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.001806, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007083/0.0007083, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009398/0.001648, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9027/0.9027, allocations: 177.2 MB / 189.8 MB, free: 5.27 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09916/1.002, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 3.984 kB / 244.7 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.474e-05, allocations: 2.312 kB / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2221/0.2221, allocations: 147.3 MB / 392 MB, free: 5.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.2235, allocations: 1.609 MB / 393.6 MB, free: 4.164 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.117e-05/0.2236, allocations: 4 kB / 393.6 MB, free: 4.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.2238, allocations: 51.67 kB / 393.7 MB, free: 4.109 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.2241, allocations: 179.7 kB / 393.8 MB, free: 3.941 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.226, allocations: 1.024 MB / 394.9 MB, free: 2.934 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003298/0.2263, allocations: 362.5 kB / 395.2 MB, free: 2.578 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.2264, allocations: 6.469 kB / 395.2 MB, free: 2.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.2266, allocations: 223.4 kB / 395.4 MB, free: 2.352 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.2268, allocations: 119.7 kB / 395.5 MB, free: 2.234 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.2268, allocations: 16 kB / 395.6 MB, free: 2.219 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.2289, allocations: 1.438 MB / 397 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/0.229, allocations: 55.91 kB / 397.1 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.042e-05/0.2291, allocations: 63.88 kB / 397.1 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.2303, allocations: 0.9078 MB / 398 MB, free: 15.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.2303, allocations: 0 / 398 MB, free: 15.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2303, allocations: 0 / 398 MB, free: 15.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.2303, allocations: 0 / 398 MB, free: 15.75 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.001162/0.2315, allocations: 0.7892 MB / 398.8 MB, free: 14.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.2315, allocations: 12.03 kB / 398.8 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.2316, allocations: 40.83 kB / 398.9 MB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.2318, allocations: 150.3 kB / 399 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.2318, allocations: 21.45 kB / 399 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.2319, allocations: 20 kB / 399.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.2321, allocations: 307.8 kB / 399.4 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2322, allocations: 3.938 kB / 399.4 MB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.2322, allocations: 7.984 kB / 399.4 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.2322, allocations: 11.98 kB / 399.4 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.2323, allocations: 107.3 kB / 399.5 MB, free: 14.19 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.0007136/0.233, allocations: 0.4946 MB / 400 MB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.2333, allocations: 145 kB / 400.1 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.466e-05/0.2333, allocations: 58.12 kB / 400.2 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.2335, allocations: 51.95 kB / 400.2 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.2335, allocations: 43.81 kB / 400.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.553e-06/0.2335, allocations: 3.938 kB / 400.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006783/0.2342, allocations: 378.1 kB / 400.6 MB, free: 12.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.2342, allocations: 85.05 kB / 400.7 MB, free: 12.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.308e-05/0.2343, allocations: 140.2 kB / 400.9 MB, free: 12.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.2343, allocations: 33.7 kB / 400.9 MB, free: 12.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.2343, allocations: 112.9 kB / 401 MB, free: 12.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.618e-05/0.2344, allocations: 134.8 kB / 401.1 MB, free: 12.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.156e-05/0.2345, allocations: 73.64 kB / 401.2 MB, free: 12.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.046e-05/0.2345, allocations: 330.8 kB / 401.5 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.655e-05/0.2346, allocations: 54.81 kB / 401.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.023e-05/0.2347, allocations: 123.6 kB / 401.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.2349, allocations: 217.1 kB / 401.9 MB, free: 11.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2349, allocations: 0 / 401.9 MB, free: 11.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002275/0.2351, allocations: 224.2 kB / 402.1 MB, free: 11.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.2351, allocations: 16.02 kB / 402.2 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2351, allocations: 0 / 402.2 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2351, allocations: 4 kB / 402.2 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.2354, allocations: 95.81 kB / 402.3 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.2354, allocations: 4 kB / 402.3 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.2355, allocations: 21.64 kB / 402.3 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.2355, allocations: 15.92 kB / 402.3 MB, free: 11.2 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.318e-05/0.2356, allocations: 140.5 kB / 402.4 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.2356, allocations: 19.98 kB / 402.4 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.2358, allocations: 131.6 kB / 402.6 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.2358, allocations: 4 kB / 402.6 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2358, allocations: 3.938 kB / 402.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.2358, allocations: 7.984 kB / 402.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005422/0.2363, allocations: 453.2 kB / 403 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2363, allocations: 0 / 403 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.2365, allocations: 87.88 kB / 403.1 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.2366, allocations: 31.81 kB / 403.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2366, allocations: 8.156 kB / 403.2 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.2366, allocations: 11.98 kB / 403.2 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.2366, allocations: 5.891 kB / 403.2 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2366, allocations: 0 / 403.2 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005908/0.2372, allocations: 472 kB / 403.6 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.2372, allocations: 8 kB / 403.6 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.2374, allocations: 20.02 kB / 403.7 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.2374, allocations: 23.95 kB / 403.7 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.2374, allocations: 12 kB / 403.7 MB, free: 9.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.158e-05/0.2374, allocations: 30.33 kB / 403.7 MB, free: 9.676 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2374, allocations: 0 / 403.7 MB, free: 9.676 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000457/0.2379, allocations: 215.5 kB / 403.9 MB, free: 9.465 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.0004485/0.2383, allocations: 335.5 kB / 404.3 MB, free: 9.125 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002348/0.2386, allocations: 193.8 kB / 404.5 MB, free: 8.934 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.2386, allocations: 8 kB / 404.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.2387, allocations: 134 kB / 404.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.2391, allocations: 308.8 kB / 404.9 MB, free: 8.461 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.2414, allocations: 0.5021 MB / 405.4 MB, free: 7.918 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.376e-05/0.2415, allocations: 85.64 kB / 405.5 MB, free: 7.816 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001809/0.2416, allocations: 62.25 kB / 405.5 MB, free: 7.758 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.2419, allocations: 137.3 kB / 405.7 MB, free: 7.625 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2419, allocations: 4 kB / 405.7 MB, free: 7.621 MB / 378.7 MB Notification: Performance of Templates: time 0.009046/0.2509, allocations: 8.497 MB / 414.2 MB, free: 15.24 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.799175570718944]