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.0009511/0.0009511, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.0009232/0.0009232, allocations: 148.6 kB / 24.9 MB, free: 8.727 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.9335/0.9335, allocations: 173.4 MB / 201.5 MB, free: 8.727 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.463e-06/1.463e-06, allocations: 0 / 268.5 MB, free: 6.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.883e-05, allocations: 2.312 kB / 268.5 MB, free: 6.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.234/0.234, allocations: 143.9 MB / 412.3 MB, free: 9.086 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.2354, allocations: 1.605 MB / 413.9 MB, free: 7.488 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.407e-05/0.2355, allocations: 0 / 413.9 MB, free: 7.488 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.2359, allocations: 58.75 kB / 414 MB, free: 7.434 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.2362, allocations: 157 kB / 414.2 MB, free: 7.285 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.2381, allocations: 1.034 MB / 415.2 MB, free: 6.258 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002922/0.2383, allocations: 330.7 kB / 415.5 MB, free: 5.934 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.814e-05/0.2384, allocations: 6.297 kB / 415.5 MB, free: 5.926 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.2386, allocations: 199.4 kB / 415.7 MB, free: 5.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.2388, allocations: 115.7 kB / 415.8 MB, free: 5.617 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.2388, allocations: 12 kB / 415.8 MB, free: 5.605 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.2403, allocations: 1.384 MB / 417.2 MB, free: 4.219 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.268e-05/0.2404, allocations: 75.84 kB / 417.3 MB, free: 4.145 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.273e-05/0.2404, allocations: 79.81 kB / 417.4 MB, free: 4.066 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009569/0.2414, allocations: 1.052 MB / 418.4 MB, free: 3.012 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2414, allocations: 0 / 418.4 MB, free: 3.012 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2414, allocations: 0 / 418.4 MB, free: 3.012 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.2414, allocations: 0 / 418.4 MB, free: 3.012 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.0008525/0.2423, allocations: 0.558 MB / 419 MB, free: 2.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.2423, allocations: 12.92 kB / 419 MB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003824/0.2427, allocations: 40.84 kB / 419 MB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.2428, allocations: 137.8 kB / 419.2 MB, free: 2.219 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.2429, allocations: 23.56 kB / 419.2 MB, free: 2.199 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.2429, allocations: 16 kB / 419.2 MB, free: 2.184 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.2431, allocations: 299.8 kB / 419.5 MB, free: 1.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2432, allocations: 7.938 kB / 419.5 MB, free: 1.844 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.2432, allocations: 8 kB / 419.5 MB, free: 1.836 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.2432, allocations: 8 kB / 419.5 MB, free: 1.828 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.2433, allocations: 102.7 kB / 419.6 MB, free: 1.727 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.000657/0.244, allocations: 0.4967 MB / 420.1 MB, free: 1.199 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.2442, allocations: 145 kB / 420.3 MB, free: 1.039 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.309e-05/0.2443, allocations: 74.88 kB / 420.3 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.2444, allocations: 51.95 kB / 420.4 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.2444, allocations: 38.56 kB / 420.4 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.543e-06/0.2444, allocations: 0 / 420.4 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006858/0.2451, allocations: 369.5 kB / 420.8 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.2451, allocations: 85.05 kB / 420.9 MB, free: 404 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.873e-05/0.2452, allocations: 128.5 kB / 421 MB, free: 264 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.2452, allocations: 29.7 kB / 421 MB, free: 228 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.2453, allocations: 112.9 kB / 421.1 MB, free: 112 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.338e-05/0.2453, allocations: 131.1 kB / 421.3 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.202e-05/0.2454, allocations: 65.62 kB / 421.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.2455, allocations: 330.8 kB / 421.6 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.99e-05/0.2455, allocations: 54.81 kB / 421.7 MB, free: 15.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.2456, allocations: 131.6 kB / 421.8 MB, free: 15.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.2458, allocations: 205.5 kB / 422 MB, free: 15.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2458, allocations: 0 / 422 MB, free: 15.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002342/0.2461, allocations: 228.6 kB / 422.3 MB, free: 14.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2461, allocations: 6.969 kB / 422.3 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2461, allocations: 4 kB / 422.3 MB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.2461, allocations: 8.156 kB / 422.3 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.2463, allocations: 95.81 kB / 422.4 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2463, allocations: 4 kB / 422.4 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.2464, allocations: 15.94 kB / 422.4 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.2464, allocations: 15.98 kB / 422.4 MB, free: 14.77 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.216e-05/0.2465, allocations: 128.6 kB / 422.5 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.2466, allocations: 23.98 kB / 422.5 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.2468, allocations: 131 kB / 422.7 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2468, allocations: 7.938 kB / 422.7 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.2468, allocations: 0 / 422.7 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2468, allocations: 3.984 kB / 422.7 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005428/0.2473, allocations: 439.6 kB / 423.1 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2473, allocations: 7.938 kB / 423.1 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.2475, allocations: 75.89 kB / 423.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2475, allocations: 4 kB / 423.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.2475, allocations: 11.98 kB / 423.2 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.2475, allocations: 9.109 kB / 423.2 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2475, allocations: 6.031 kB / 423.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.2479, allocations: 476.1 kB / 423.7 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.2479, allocations: 35.77 kB / 423.7 MB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.248, allocations: 8 kB / 423.7 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.2481, allocations: 15.98 kB / 423.8 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.2481, allocations: 19.97 kB / 423.8 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.2482, allocations: 20.02 kB / 423.8 MB, free: 13.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.32e-05/0.2482, allocations: 12.84 kB / 423.8 MB, free: 13.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2482, allocations: 4 kB / 423.8 MB, free: 13.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003298/0.2485, allocations: 147.6 kB / 424 MB, free: 13.12 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.0003063/0.2488, allocations: 215.9 kB / 424.2 MB, free: 12.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.249, allocations: 181.2 kB / 424.3 MB, free: 12.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.249, allocations: 4 kB / 424.3 MB, free: 12.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.2491, allocations: 117.3 kB / 424.5 MB, free: 12.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.2495, allocations: 106.5 kB / 424.6 MB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000824/0.2503, allocations: 492 kB / 425 MB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.983e-05/0.2504, allocations: 81.33 kB / 425.1 MB, free: 11.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001869/0.2506, allocations: 57.94 kB / 425.2 MB, free: 11.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.2508, allocations: 139.2 kB / 425.3 MB, free: 11.69 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2508, allocations: 3.938 kB / 425.3 MB, free: 11.68 MB / 378.7 MB Notification: Performance of Templates: time 0.007841/0.2586, allocations: 6.985 MB / 432.3 MB, free: 4.801 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 -s gbode -gbm=radauIIA3 -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.9251853991299868]