Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 96.58 kB / 20.96 MB, free: 480 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002115/0.002115, allocations: 150.9 kB / 24.25 MB, free: 3.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 173.3 MB / 200.8 MB, free: 12.72 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.45e-05, allocations: 6.25 kB / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2695/0.2696, allocations: 130.3 MB / 397.6 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.2715, allocations: 1.417 MB / 399 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.625e-05/0.2715, allocations: 3.938 kB / 399 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.2719, allocations: 58.61 kB / 399.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004198/0.2723, allocations: 161.2 kB / 399.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.2752, allocations: 1.062 MB / 400.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004708/0.2756, allocations: 330.7 kB / 400.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.2757, allocations: 5.641 kB / 400.6 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.276, allocations: 199.4 kB / 400.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.2763, allocations: 119.7 kB / 400.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.793e-05/0.2763, allocations: 12 kB / 401 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.2786, allocations: 1.34 MB / 402.3 MB, free: 396 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.2788, allocations: 71.78 kB / 402.4 MB, free: 324 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.2789, allocations: 75.89 kB / 402.4 MB, free: 248 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.2808, allocations: 1.083 MB / 403.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2808, allocations: 0 / 403.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2808, allocations: 0 / 403.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.2808, allocations: 3.938 kB / 403.5 MB, free: 15.15 MB / 350.1 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.001803/0.2826, allocations: 0.6058 MB / 404.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2826, allocations: 12.92 kB / 404.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/0.2828, allocations: 40.78 kB / 404.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.2831, allocations: 157.7 kB / 404.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2831, allocations: 12.27 kB / 404.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.982e-05/0.2832, allocations: 27.92 kB / 404.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006962/0.2839, allocations: 364.2 kB / 404.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.2839, allocations: 3.984 kB / 404.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.2839, allocations: 4 kB / 404.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.284, allocations: 12 kB / 404.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006927/0.2847, allocations: 259.7 kB / 405 MB, free: 13.58 MB / 350.1 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.001509/0.2862, allocations: 0.625 MB / 405.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006738/0.2868, allocations: 205.2 kB / 405.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/0.2872, allocations: 126.8 kB / 406 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/0.2874, allocations: 47.95 kB / 406 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.2874, allocations: 38.56 kB / 406 MB, free: 12.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.723e-06/0.2874, allocations: 0 / 406 MB, free: 12.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.002676/0.2901, allocations: 0.6825 MB / 406.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.2902, allocations: 85.11 kB / 406.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.2903, allocations: 129.7 kB / 406.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.2903, allocations: 37.7 kB / 407 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.789e-05/0.2904, allocations: 104.9 kB / 407.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.2905, allocations: 126.9 kB / 407.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.2907, allocations: 73.64 kB / 407.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2908, allocations: 326.8 kB / 407.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.2913, allocations: 131.9 kB / 407.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.2917, allocations: 207.6 kB / 407.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009305/0.2927, allocations: 365.2 kB / 408.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2927, allocations: 0 / 408.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00111/0.2938, allocations: 428.4 kB / 408.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2938, allocations: 4 kB / 408.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2938, allocations: 4 kB / 408.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.2938, allocations: 4 kB / 408.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.2944, allocations: 91.81 kB / 408.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.2944, allocations: 4 kB / 408.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.2947, allocations: 23.92 kB / 408.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.2947, allocations: 20.14 kB / 408.8 MB, free: 9.555 MB / 350.1 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 0.0001873/0.2949, allocations: 145.7 kB / 409 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.295, allocations: 27.91 kB / 409 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.2954, allocations: 178.4 kB / 409.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.2954, allocations: 4 kB / 409.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2954, allocations: 0.6875 kB / 409.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.2955, allocations: 7.969 kB / 409.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.2972, allocations: 0.6501 MB / 409.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.2972, allocations: 4 kB / 409.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004792/0.2977, allocations: 79.88 kB / 409.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.2977, allocations: 4.875 kB / 409.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.2978, allocations: 12.16 kB / 409.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.2978, allocations: 7.938 kB / 410 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.2978, allocations: 3.938 kB / 410 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.2994, allocations: 0.7228 MB / 410.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.2995, allocations: 39.86 kB / 410.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.2995, allocations: 8 kB / 410.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/0.2999, allocations: 23.3 kB / 410.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.3, allocations: 27.89 kB / 410.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.3, allocations: 23.92 kB / 410.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.638e-05/0.3001, allocations: 92.11 kB / 410.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3001, allocations: 4.062 kB / 410.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006125/0.3007, allocations: 143.7 kB / 411 MB, free: 7.266 MB / 350.1 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.0005026/0.3012, allocations: 230.8 kB / 411.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000968/0.3022, allocations: 331.7 kB / 411.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3022, allocations: 0 / 411.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004467/0.3026, allocations: 176.4 kB / 411.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007593/0.3034, allocations: 107.2 kB / 411.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.3048, allocations: 0.5489 MB / 412.4 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.305, allocations: 124.9 kB / 412.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003284/0.3053, allocations: 77.89 kB / 412.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.3054, allocations: 36.48 kB / 412.6 MB, free: 5.598 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3054, allocations: 0 / 412.6 MB, free: 5.598 MB / 350.1 MB Notification: Performance of Templates: time 0.01235/0.3178, allocations: 6.026 MB / 418.7 MB, free: 15.68 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5634966269135475]