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.001254/0.001254, allocations: 78.19 kB / 21.42 MB, free: 3.078 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.001174/0.001174, allocations: 148.5 kB / 24.81 MB, free: 9.285 MB / 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 0.9246/0.9246, allocations: 173.4 MB / 201.4 MB, free: 9.195 MB / 186.7 MB " [Timeout remaining time 179] 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.613e-06/1.613e-06, allocations: 0 / 268.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.733e-05, allocations: 2.312 kB / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2138/0.2138, allocations: 141.7 MB / 410.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.2154, allocations: 1.562 MB / 411.6 MB, free: 9.863 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.839e-05/0.2155, allocations: 0 / 411.6 MB, free: 9.863 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.2158, allocations: 58.77 kB / 411.7 MB, free: 9.809 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.2161, allocations: 166.2 kB / 411.8 MB, free: 9.652 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.2184, allocations: 1.056 MB / 412.9 MB, free: 8.602 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.2187, allocations: 334.7 kB / 413.2 MB, free: 8.273 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.2187, allocations: 13.64 kB / 413.2 MB, free: 8.258 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.2189, allocations: 199.4 kB / 413.4 MB, free: 8.062 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.2191, allocations: 119.7 kB / 413.6 MB, free: 7.945 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.2191, allocations: 12 kB / 413.6 MB, free: 7.934 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.2208, allocations: 1.333 MB / 414.9 MB, free: 6.598 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.2208, allocations: 71.84 kB / 415 MB, free: 6.527 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.896e-05/0.2209, allocations: 75.83 kB / 415 MB, free: 6.453 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000976/0.2219, allocations: 1.044 MB / 416.1 MB, free: 5.406 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2219, allocations: 0 / 416.1 MB, free: 5.406 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2219, allocations: 0 / 416.1 MB, free: 5.406 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.2219, allocations: 4 kB / 416.1 MB, free: 5.402 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.0009191/0.2228, allocations: 0.6904 MB / 416.8 MB, free: 4.676 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2228, allocations: 8.922 kB / 416.8 MB, free: 4.668 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.223, allocations: 40.78 kB / 416.8 MB, free: 4.629 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.2231, allocations: 160.6 kB / 417 MB, free: 4.445 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.2231, allocations: 12.27 kB / 417 MB, free: 4.434 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.2232, allocations: 20 kB / 417 MB, free: 4.414 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.2234, allocations: 306.5 kB / 417.3 MB, free: 4.074 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2234, allocations: 0 / 417.3 MB, free: 4.074 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.2234, allocations: 12 kB / 417.3 MB, free: 4.062 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.2235, allocations: 4 kB / 417.3 MB, free: 4.059 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.2236, allocations: 127.8 kB / 417.5 MB, free: 3.934 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.0007191/0.2243, allocations: 0.6432 MB / 418.1 MB, free: 3.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/0.2248, allocations: 178.1 kB / 418.3 MB, free: 3.051 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.38e-05/0.2249, allocations: 88.31 kB / 418.4 MB, free: 2.957 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.225, allocations: 54.81 kB / 418.4 MB, free: 2.906 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.2251, allocations: 33.39 kB / 418.5 MB, free: 2.863 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.343e-06/0.2251, allocations: 0 / 418.5 MB, free: 2.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007717/0.2258, allocations: 439.7 kB / 418.9 MB, free: 2.434 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.2259, allocations: 85.05 kB / 419 MB, free: 2.332 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.951e-05/0.2259, allocations: 185.8 kB / 419.1 MB, free: 2.133 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.226, allocations: 29.7 kB / 419.2 MB, free: 2.098 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.226, allocations: 155.6 kB / 419.3 MB, free: 1.941 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/0.2261, allocations: 130.9 kB / 419.5 MB, free: 1.812 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.2262, allocations: 79.31 kB / 419.5 MB, free: 1.727 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.2263, allocations: 0.4962 MB / 420 MB, free: 1.219 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.446e-05/0.2263, allocations: 59.95 kB / 420.1 MB, free: 1.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.2264, allocations: 169 kB / 420.3 MB, free: 0.957 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.2267, allocations: 236.6 kB / 420.5 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2267, allocations: 3.938 kB / 420.5 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002996/0.227, allocations: 289.6 kB / 420.8 MB, free: 412 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.227, allocations: 4.625 kB / 420.8 MB, free: 408 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.227, allocations: 4 kB / 420.8 MB, free: 404 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.227, allocations: 4 kB / 420.8 MB, free: 400 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.2272, allocations: 79.89 kB / 420.9 MB, free: 320 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2272, allocations: 7.984 kB / 420.9 MB, free: 312 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.2273, allocations: 24.11 kB / 420.9 MB, free: 288 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.2273, allocations: 15.98 kB / 420.9 MB, free: 272 kB / 362.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.771e-05/0.2274, allocations: 180.5 kB / 421.1 MB, free: 80 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.2275, allocations: 31.84 kB / 421.1 MB, free: 48 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/0.2277, allocations: 140.3 kB / 421.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.2277, allocations: 7.984 kB / 421.3 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.2277, allocations: 3.938 kB / 421.3 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.2277, allocations: 4 kB / 421.3 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006217/0.2283, allocations: 0.5846 MB / 421.9 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2283, allocations: 4 kB / 421.9 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.2285, allocations: 71.89 kB / 421.9 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.2285, allocations: 4 kB / 421.9 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.2285, allocations: 11.98 kB / 421.9 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2285, allocations: 4 kB / 421.9 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2285, allocations: 4.938 kB / 421.9 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.2289, allocations: 0.6188 MB / 422.6 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.229, allocations: 35.86 kB / 422.6 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.229, allocations: 11.98 kB / 422.6 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.2291, allocations: 12 kB / 422.6 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.2292, allocations: 31.89 kB / 422.7 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.2292, allocations: 15.92 kB / 422.7 MB, free: 14.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.303e-05/0.2292, allocations: 127.2 kB / 422.8 MB, free: 14.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2292, allocations: 0 / 422.8 MB, free: 14.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003269/0.2295, allocations: 151.7 kB / 422.9 MB, free: 14.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.0002881/0.2298, allocations: 226.8 kB / 423.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.2301, allocations: 227.1 kB / 423.4 MB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2301, allocations: 3.938 kB / 423.4 MB, free: 13.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.2302, allocations: 127.4 kB / 423.5 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.2306, allocations: 109.2 kB / 423.6 MB, free: 13.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008712/0.2315, allocations: 0.506 MB / 424.1 MB, free: 12.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.376e-05/0.2315, allocations: 85.33 kB / 424.2 MB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.2317, allocations: 57.92 kB / 424.3 MB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.2319, allocations: 158.1 kB / 424.4 MB, free: 12.55 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2319, allocations: 4 kB / 424.4 MB, free: 12.55 MB / 378.7 MB Notification: Performance of Templates: time 0.007601/0.2395, allocations: 7.012 MB / 431.4 MB, free: 5.645 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","",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.976816006936133]