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.0007593/0.0007593, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009907/0.00175, allocations: 449.7 kB / 10.37 MB, free: 328 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.000682/0.000682, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000889/0.001571, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9413/0.9413, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07371/1.015, allocations: 53.64 MB / 243.2 MB, free: 15.58 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.212e-06/1.212e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.065e-06/9.277e-06, allocations: 2.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2343/0.2343, allocations: 147.3 MB / 391.8 MB, free: 5.875 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.2356, allocations: 1.605 MB / 393.4 MB, free: 4.277 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.2357, allocations: 4 kB / 393.4 MB, free: 4.273 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.2359, allocations: 63.66 kB / 393.5 MB, free: 4.211 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.2362, allocations: 179.6 kB / 393.6 MB, free: 4.043 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.2382, allocations: 1.01 MB / 394.7 MB, free: 3.047 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.2385, allocations: 366.5 kB / 395 MB, free: 2.688 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.715e-05/0.2386, allocations: 10.45 kB / 395 MB, free: 2.676 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.2388, allocations: 223.3 kB / 395.2 MB, free: 2.457 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.239, allocations: 119.7 kB / 395.4 MB, free: 2.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.239, allocations: 12 kB / 395.4 MB, free: 2.328 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.2406, allocations: 1.427 MB / 396.8 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.069e-05/0.2406, allocations: 67.81 kB / 396.9 MB, free: 0.832 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.124e-05/0.2407, allocations: 67.88 kB / 396.9 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.2417, allocations: 0.9039 MB / 397.8 MB, free: 15.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.161e-05/0.2417, allocations: 0 / 397.8 MB, free: 15.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2417, allocations: 0 / 397.8 MB, free: 15.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.2417, allocations: 0 / 397.8 MB, free: 15.86 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.001031/0.2428, allocations: 0.7931 MB / 398.6 MB, free: 15.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.722e-05/0.2428, allocations: 8.031 kB / 398.6 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.2429, allocations: 36.84 kB / 398.7 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.2431, allocations: 153.7 kB / 398.8 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.2431, allocations: 20.27 kB / 398.8 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.2431, allocations: 16 kB / 398.9 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.2434, allocations: 307.7 kB / 399.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.2434, allocations: 4 kB / 399.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.2434, allocations: 8 kB / 399.2 MB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.2434, allocations: 7.984 kB / 399.2 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.2436, allocations: 107.3 kB / 399.3 MB, free: 14.3 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.0006745/0.2442, allocations: 0.4973 MB / 399.8 MB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.2445, allocations: 147.6 kB / 399.9 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.663e-05/0.2445, allocations: 62.12 kB / 400 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.2447, allocations: 55.95 kB / 400 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.2447, allocations: 42.5 kB / 400.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.744e-06/0.2447, allocations: 0 / 400.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006677/0.2453, allocations: 378.5 kB / 400.4 MB, free: 13.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.2454, allocations: 85.05 kB / 400.5 MB, free: 12.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.2454, allocations: 136.3 kB / 400.7 MB, free: 12.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.2455, allocations: 33.7 kB / 400.7 MB, free: 12.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.2455, allocations: 112.9 kB / 400.8 MB, free: 12.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.2456, allocations: 134.8 kB / 400.9 MB, free: 12.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.168e-05/0.2456, allocations: 65.66 kB / 401 MB, free: 12.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.114e-05/0.2457, allocations: 330.8 kB / 401.3 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.82e-05/0.2458, allocations: 50.81 kB / 401.4 MB, free: 12.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.319e-05/0.2459, allocations: 135.6 kB / 401.5 MB, free: 11.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.2463, allocations: 200.1 kB / 401.7 MB, free: 11.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2463, allocations: 4 kB / 401.7 MB, free: 11.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002276/0.2465, allocations: 231.9 kB / 401.9 MB, free: 11.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.2465, allocations: 5.719 kB / 401.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.2465, allocations: 4 kB / 401.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.2465, allocations: 4 kB / 401.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.2468, allocations: 104 kB / 402 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.2468, allocations: 4 kB / 402.1 MB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.2469, allocations: 19.94 kB / 402.1 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.2469, allocations: 12 kB / 402.1 MB, free: 11.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 8.288e-05/0.247, allocations: 140.5 kB / 402.2 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.247, allocations: 23.98 kB / 402.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.2472, allocations: 128.6 kB / 402.4 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2472, allocations: 7.938 kB / 402.4 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2472, allocations: 3.938 kB / 402.4 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2472, allocations: 4 kB / 402.4 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.2478, allocations: 455.5 kB / 402.8 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2478, allocations: 4 kB / 402.8 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.2481, allocations: 75.89 kB / 402.9 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.2482, allocations: 39.81 kB / 402.9 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.2482, allocations: 0 / 402.9 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.2482, allocations: 8 kB / 403 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.2482, allocations: 5.016 kB / 403 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.2482, allocations: 5.031 kB / 403 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/0.2486, allocations: 475.5 kB / 403.4 MB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.2486, allocations: 7.984 kB / 403.4 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.2488, allocations: 16 kB / 403.5 MB, free: 9.863 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.2489, allocations: 23.95 kB / 403.5 MB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.2489, allocations: 11.98 kB / 403.5 MB, free: 9.828 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.441e-05/0.2489, allocations: 30.86 kB / 403.5 MB, free: 9.797 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2489, allocations: 4.031 kB / 403.5 MB, free: 9.793 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004375/0.2494, allocations: 211.5 kB / 403.7 MB, free: 9.586 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.0004704/0.2498, allocations: 338.9 kB / 404.1 MB, free: 9.242 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.2501, allocations: 188.5 kB / 404.2 MB, free: 9.055 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.2501, allocations: 4 kB / 404.2 MB, free: 9.051 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.649e-05/0.2502, allocations: 117.9 kB / 404.4 MB, free: 8.934 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.2506, allocations: 139.1 kB / 404.5 MB, free: 8.805 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.2529, allocations: 0.4924 MB / 405 MB, free: 8.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.471e-05/0.253, allocations: 89.62 kB / 405.1 MB, free: 8.164 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001918/0.2532, allocations: 66.25 kB / 405.1 MB, free: 8.102 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.2534, allocations: 141.2 kB / 405.3 MB, free: 7.965 MB / 378.7 MB Notification: Performance of SimCode: time 8.21e-07/0.2534, allocations: 0 / 405.3 MB, free: 7.965 MB / 378.7 MB Notification: Performance of Templates: time 0.009264/0.2626, allocations: 8.729 MB / 414 MB, free: 15.36 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8255663150921464]