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.002489/0.002489, allocations: 99.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002637/0.002637, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 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.567/1.567, allocations: 173.3 MB / 200.8 MB, free: 9.32 MB / 186.7 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 1.372e-06/1.372e-06, allocations: 0 / 267.3 MB, free: 6.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.57e-05, allocations: 2.312 kB / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2899/0.2899, allocations: 144.1 MB / 411.4 MB, free: 9.492 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.2923, allocations: 1.573 MB / 413 MB, free: 7.926 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.77e-05/0.2924, allocations: 0 / 413 MB, free: 7.926 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.2927, allocations: 62.75 kB / 413 MB, free: 7.867 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.2931, allocations: 160.8 kB / 413.2 MB, free: 7.715 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002914/0.296, allocations: 1.058 MB / 414.3 MB, free: 6.664 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000499/0.2965, allocations: 338.7 kB / 414.6 MB, free: 6.332 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.2966, allocations: 9.641 kB / 414.6 MB, free: 6.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003497/0.2969, allocations: 199.4 kB / 414.8 MB, free: 6.125 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.2972, allocations: 111.7 kB / 414.9 MB, free: 6.016 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.2972, allocations: 12 kB / 414.9 MB, free: 6.004 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002536/0.2998, allocations: 1.341 MB / 416.2 MB, free: 4.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.2999, allocations: 71.84 kB / 416.3 MB, free: 4.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.3, allocations: 83.81 kB / 416.4 MB, free: 4.508 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00206/0.3021, allocations: 1.083 MB / 417.5 MB, free: 3.422 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3021, allocations: 4 kB / 417.5 MB, free: 3.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3021, allocations: 0 / 417.5 MB, free: 3.418 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3021, allocations: 0 / 417.5 MB, free: 3.418 MB / 362.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.001666/0.3038, allocations: 0.6898 MB / 418.2 MB, free: 2.691 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3038, allocations: 12.92 kB / 418.2 MB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.304, allocations: 36.78 kB / 418.2 MB, free: 2.645 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.3043, allocations: 156.6 kB / 418.4 MB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.3043, allocations: 12.27 kB / 418.4 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.94e-05/0.3044, allocations: 23.94 kB / 418.4 MB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006101/0.305, allocations: 333.9 kB / 418.7 MB, free: 2.066 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.305, allocations: 4 kB / 418.7 MB, free: 2.062 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.305, allocations: 11.98 kB / 418.8 MB, free: 2.051 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.3051, allocations: 11.94 kB / 418.8 MB, free: 2.039 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007867/0.3059, allocations: 200.6 kB / 419 MB, free: 1.844 MB / 362.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.001564/0.3074, allocations: 0.7009 MB / 419.7 MB, free: 1.094 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006344/0.3081, allocations: 210.1 kB / 419.9 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.3083, allocations: 116.3 kB / 420 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/0.3086, allocations: 55.89 kB / 420 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.3086, allocations: 33.39 kB / 420.1 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.603e-06/0.3086, allocations: 3.938 kB / 420.1 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002173/0.3108, allocations: 0.5964 MB / 420.7 MB, free: 44 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.152e-05/0.3109, allocations: 81.11 kB / 420.8 MB, free: 15.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.311, allocations: 189.8 kB / 420.9 MB, free: 15.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.3111, allocations: 33.7 kB / 421 MB, free: 15.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.3112, allocations: 151.7 kB / 421.1 MB, free: 15.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.3113, allocations: 130.9 kB / 421.2 MB, free: 15.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.3115, allocations: 83.25 kB / 421.3 MB, free: 15.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002755/0.3117, allocations: 0.5079 MB / 421.8 MB, free: 14.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/0.3121, allocations: 119.9 kB / 422 MB, free: 14.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/0.3125, allocations: 217.1 kB / 422.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007655/0.3132, allocations: 350.3 kB / 422.5 MB, free: 14.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3132, allocations: 0 / 422.5 MB, free: 14.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009064/0.3141, allocations: 381.4 kB / 422.9 MB, free: 13.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3142, allocations: 4.219 kB / 422.9 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3142, allocations: 8 kB / 422.9 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3142, allocations: 4 kB / 422.9 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/0.3147, allocations: 79.89 kB / 423 MB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.3147, allocations: 7.938 kB / 423 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.3149, allocations: 19.92 kB / 423 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.315, allocations: 16 kB / 423 MB, free: 13.55 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 0.0001776/0.3152, allocations: 180.5 kB / 423.2 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3153, allocations: 31.84 kB / 423.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004075/0.3157, allocations: 178.4 kB / 423.4 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.3157, allocations: 4.688 kB / 423.4 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3157, allocations: 3.938 kB / 423.4 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.3157, allocations: 3.984 kB / 423.4 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.3173, allocations: 0.6834 MB / 424.1 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.3173, allocations: 4 kB / 424.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004097/0.3177, allocations: 68.64 kB / 424.2 MB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.3177, allocations: 4 kB / 424.2 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.52e-05/0.3178, allocations: 20.14 kB / 424.2 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3178, allocations: 4 kB / 424.2 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/0.3178, allocations: 11.88 kB / 424.2 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.3191, allocations: 0.7497 MB / 425 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.3192, allocations: 43.86 kB / 425 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.3193, allocations: 12 kB / 425 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/0.3196, allocations: 20.02 kB / 425 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.3197, allocations: 31.83 kB / 425.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.3197, allocations: 12 kB / 425.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.854e-05/0.3198, allocations: 135.9 kB / 425.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3198, allocations: 0 / 425.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005894/0.3204, allocations: 147.7 kB / 425.3 MB, free: 11.11 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.0005077/0.3209, allocations: 230.8 kB / 425.6 MB, free: 10.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008082/0.3217, allocations: 315.1 kB / 425.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3217, allocations: 0 / 425.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006016/0.3223, allocations: 183.6 kB / 426.1 MB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007568/0.3231, allocations: 109.2 kB / 426.2 MB, free: 10.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.3244, allocations: 0.5284 MB / 426.7 MB, free: 9.703 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.3245, allocations: 133.7 kB / 426.8 MB, free: 9.555 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003355/0.3249, allocations: 73.89 kB / 426.9 MB, free: 9.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.325, allocations: 32.48 kB / 426.9 MB, free: 9.445 MB / 378.7 MB Notification: Performance of SimCode: time 8.01e-07/0.325, allocations: 0 / 426.9 MB, free: 9.445 MB / 378.7 MB Notification: Performance of Templates: time 0.01282/0.3378, allocations: 6.083 MB / 433 MB, free: 3.469 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 240] 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: 5.066086323000491]