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.001078/0.001078, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001382/0.00246, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.000846/0.000846, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008892/0.001735, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.904/0.904, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07222/0.9762, allocations: 52.49 MB / 238.3 MB, free: 4.438 MB / 234.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.653e-06/1.653e-06, allocations: 0 / 239.5 MB, free: 3.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.021e-05, allocations: 6.25 kB / 239.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2219/0.2219, allocations: 144.2 MB / 383.8 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.2233, allocations: 1.602 MB / 385.4 MB, free: 15 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.924e-05/0.2234, allocations: 8 kB / 385.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.2236, allocations: 54.06 kB / 385.4 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.2238, allocations: 159.1 kB / 385.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.2257, allocations: 1.015 MB / 386.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.226, allocations: 330.8 kB / 386.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.2261, allocations: 10.28 kB / 386.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.2263, allocations: 211.4 kB / 387.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.2265, allocations: 107.7 kB / 387.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.2265, allocations: 12 kB / 387.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.228, allocations: 1.388 MB / 388.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.656e-05/0.2281, allocations: 59.84 kB / 388.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/0.2282, allocations: 55.94 kB / 388.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.2292, allocations: 0.8805 MB / 389.6 MB, free: 10.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.273e-05/0.2292, allocations: 0 / 389.6 MB, free: 10.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2292, allocations: 0 / 389.6 MB, free: 10.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.2292, allocations: 0 / 389.6 MB, free: 10.74 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.001042/0.2303, allocations: 0.7614 MB / 390.4 MB, free: 9.934 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.767e-05/0.2303, allocations: 8.031 kB / 390.4 MB, free: 9.926 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.2304, allocations: 40.78 kB / 390.4 MB, free: 9.887 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.2306, allocations: 137.8 kB / 390.6 MB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.2306, allocations: 16.27 kB / 390.6 MB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.2306, allocations: 23.98 kB / 390.6 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.2309, allocations: 303.8 kB / 390.9 MB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2309, allocations: 0 / 390.9 MB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.2309, allocations: 8 kB / 390.9 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.2309, allocations: 8 kB / 390.9 MB, free: 9.336 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.2311, allocations: 106.6 kB / 391 MB, free: 9.23 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.000668/0.2318, allocations: 0.4967 MB / 391.5 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.232, allocations: 144.5 kB / 391.7 MB, free: 8.547 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.801e-05/0.2321, allocations: 70.11 kB / 391.7 MB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.2322, allocations: 51.95 kB / 391.8 MB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.2322, allocations: 42.5 kB / 391.8 MB, free: 8.371 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.232e-06/0.2322, allocations: 0 / 391.8 MB, free: 8.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006733/0.2329, allocations: 378.3 kB / 392.2 MB, free: 8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.2329, allocations: 89.05 kB / 392.3 MB, free: 7.895 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.258e-05/0.233, allocations: 122.6 kB / 392.4 MB, free: 7.762 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.233, allocations: 29.7 kB / 392.4 MB, free: 7.727 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.233, allocations: 108.9 kB / 392.5 MB, free: 7.617 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.2331, allocations: 126.8 kB / 392.7 MB, free: 7.492 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.2332, allocations: 77.56 kB / 392.7 MB, free: 7.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.089e-05/0.2332, allocations: 330.8 kB / 393.1 MB, free: 7.078 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.579e-05/0.2333, allocations: 50.81 kB / 393.1 MB, free: 7.027 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.274e-05/0.2334, allocations: 135.5 kB / 393.2 MB, free: 6.867 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.2336, allocations: 202.4 kB / 393.4 MB, free: 6.641 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2336, allocations: 4 kB / 393.4 MB, free: 6.637 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002166/0.2338, allocations: 229 kB / 393.7 MB, free: 6.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.2338, allocations: 4 kB / 393.7 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2338, allocations: 4 kB / 393.7 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.2338, allocations: 4 kB / 393.7 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.234, allocations: 99.81 kB / 393.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.234, allocations: 12.16 kB / 393.8 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.619e-05/0.2341, allocations: 15.98 kB / 393.8 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.2342, allocations: 12 kB / 393.8 MB, free: 6.262 MB / 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 7.916e-05/0.2342, allocations: 128.5 kB / 393.9 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.2343, allocations: 27.97 kB / 394 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.2344, allocations: 124.6 kB / 394.1 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2345, allocations: 4 kB / 394.1 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.2345, allocations: 8.75 kB / 394.1 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2345, allocations: 7.922 kB / 394.1 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005446/0.235, allocations: 442.6 kB / 394.5 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.235, allocations: 4 kB / 394.5 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.2352, allocations: 87.88 kB / 394.6 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.2353, allocations: 27.83 kB / 394.7 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.2353, allocations: 2.625 kB / 394.7 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.2353, allocations: 15.98 kB / 394.7 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2353, allocations: 4 kB / 394.7 MB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.2353, allocations: 7.938 kB / 394.7 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.2356, allocations: 478.8 kB / 395.2 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.2357, allocations: 8 kB / 395.2 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.2358, allocations: 12 kB / 395.2 MB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.2358, allocations: 31.89 kB / 395.2 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.2358, allocations: 11.98 kB / 395.2 MB, free: 4.773 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.981e-05/0.2358, allocations: 20.83 kB / 395.2 MB, free: 4.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2358, allocations: 4.031 kB / 395.2 MB, free: 4.746 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004298/0.2363, allocations: 199.5 kB / 395.4 MB, free: 4.551 MB / 362.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.0005245/0.2368, allocations: 345.8 kB / 395.8 MB, free: 4.223 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.237, allocations: 196.8 kB / 396 MB, free: 4.031 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/0.2371, allocations: 8 kB / 396 MB, free: 4.023 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.028e-05/0.2371, allocations: 112.5 kB / 396.1 MB, free: 3.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.2375, allocations: 130 kB / 396.2 MB, free: 3.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.2398, allocations: 479.2 kB / 396.7 MB, free: 3.273 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.818e-05/0.2398, allocations: 93.33 kB / 396.8 MB, free: 3.164 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001826/0.24, allocations: 53.92 kB / 396.8 MB, free: 3.105 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.2402, allocations: 127.2 kB / 397 MB, free: 2.98 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2402, allocations: 3.938 kB / 397 MB, free: 2.977 MB / 362.7 MB Notification: Performance of Templates: time 0.009164/0.2494, allocations: 8.289 MB / 405.2 MB, free: 10.78 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 -ignoreHideResult -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.861336243338883]