Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009039/0.0009039, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009172/0.0009172, allocations: 170.3 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.961/0.961, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.021e-06/1.021e-06, allocations: 0 / 273.5 MB, free: 1.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076e-05/1.178e-05, allocations: 2.312 kB / 273.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2296/0.2297, allocations: 146.9 MB / 420.3 MB, free: 14.33 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.231, allocations: 1.609 MB / 421.9 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.801e-05/0.231, allocations: 0 / 421.9 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.2313, allocations: 58.47 kB / 422 MB, free: 12.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.2316, allocations: 179.4 kB / 422.2 MB, free: 12.51 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.2336, allocations: 1.032 MB / 423.2 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.2339, allocations: 362.4 kB / 423.6 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.2339, allocations: 10.45 kB / 423.6 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.2342, allocations: 219.4 kB / 423.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004129/0.2346, allocations: 107.7 kB / 423.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.2346, allocations: 12 kB / 423.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.2362, allocations: 1.438 MB / 425.3 MB, free: 9.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.902e-05/0.2362, allocations: 75.83 kB / 425.4 MB, free: 9.266 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.665e-05/0.2363, allocations: 83.83 kB / 425.5 MB, free: 9.184 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.2373, allocations: 1.083 MB / 426.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2373, allocations: 0 / 426.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2373, allocations: 0 / 426.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.2373, allocations: 4 kB / 426.6 MB, free: 8.094 MB / 378.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.0008979/0.2382, allocations: 0.5935 MB / 427.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.2383, allocations: 12.03 kB / 427.2 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.2384, allocations: 32.84 kB / 427.2 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.2386, allocations: 153.7 kB / 427.4 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.2386, allocations: 16.27 kB / 427.4 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.2386, allocations: 20 kB / 427.4 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.2389, allocations: 307.7 kB / 427.7 MB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2389, allocations: 4 kB / 427.7 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.2389, allocations: 8 kB / 427.7 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.2389, allocations: 4 kB / 427.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.2391, allocations: 107.7 kB / 427.8 MB, free: 6.766 MB / 378.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.0006888/0.2398, allocations: 0.5123 MB / 428.3 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.24, allocations: 141 kB / 428.5 MB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.286e-05/0.2401, allocations: 66.31 kB / 428.5 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.2402, allocations: 49.09 kB / 428.6 MB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.2402, allocations: 38.56 kB / 428.6 MB, free: 5.902 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/0.2402, allocations: 0 / 428.6 MB, free: 5.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007019/0.2409, allocations: 378.5 kB / 429 MB, free: 5.527 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.2409, allocations: 85.05 kB / 429.1 MB, free: 5.426 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.589e-05/0.241, allocations: 134.6 kB / 429.2 MB, free: 5.281 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.241, allocations: 33.7 kB / 429.3 MB, free: 5.242 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.2411, allocations: 116.8 kB / 429.4 MB, free: 5.125 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.334e-05/0.2411, allocations: 134.8 kB / 429.5 MB, free: 4.992 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/0.2412, allocations: 65.66 kB / 429.6 MB, free: 4.922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.888e-05/0.2413, allocations: 326.8 kB / 429.9 MB, free: 4.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.666e-05/0.2413, allocations: 62.73 kB / 429.9 MB, free: 4.531 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.592e-05/0.2414, allocations: 127.6 kB / 430.1 MB, free: 4.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.2416, allocations: 204.4 kB / 430.3 MB, free: 4.152 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2416, allocations: 1.312 kB / 430.3 MB, free: 4.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002332/0.2419, allocations: 228.1 kB / 430.5 MB, free: 3.922 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2419, allocations: 4 kB / 430.5 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2419, allocations: 4 kB / 430.5 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.2419, allocations: 12.2 kB / 430.5 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.2421, allocations: 87.83 kB / 430.6 MB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.2421, allocations: 4 kB / 430.6 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.2422, allocations: 23.88 kB / 430.6 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.2423, allocations: 12 kB / 430.6 MB, free: 3.777 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 9.575e-05/0.2424, allocations: 124.6 kB / 430.8 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.2424, allocations: 31.97 kB / 430.8 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.2426, allocations: 127.6 kB / 430.9 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2426, allocations: 4 kB / 430.9 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2426, allocations: 7.938 kB / 430.9 MB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2426, allocations: 4.859 kB / 430.9 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009204/0.2435, allocations: 447.6 kB / 431.4 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2435, allocations: 4 kB / 431.4 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.2437, allocations: 79.83 kB / 431.4 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.2437, allocations: 4 kB / 431.5 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.2438, allocations: 11.98 kB / 431.5 MB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.2438, allocations: 4.875 kB / 431.5 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2438, allocations: 160 / 431.5 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.2442, allocations: 481.2 kB / 431.9 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.2442, allocations: 27.83 kB / 432 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.2442, allocations: 8 kB / 432 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.2444, allocations: 15.98 kB / 432 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.2444, allocations: 23.95 kB / 432 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.2444, allocations: 13.06 kB / 432 MB, free: 2.301 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.138e-05/0.2444, allocations: 28.86 kB / 432.1 MB, free: 2.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2444, allocations: 3.938 kB / 432.1 MB, free: 2.266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003454/0.2448, allocations: 155.7 kB / 432.2 MB, free: 2.113 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.0003528/0.2451, allocations: 227.8 kB / 432.4 MB, free: 1.879 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002509/0.2454, allocations: 192.6 kB / 432.6 MB, free: 1.691 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.2454, allocations: 4 kB / 432.6 MB, free: 1.688 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.2455, allocations: 115.5 kB / 432.7 MB, free: 1.574 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.2459, allocations: 112 kB / 432.8 MB, free: 1.477 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000943/0.2468, allocations: 0.5 MB / 433.3 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.751e-05/0.2469, allocations: 101.5 kB / 433.4 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.2471, allocations: 58.28 kB / 433.5 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.2474, allocations: 139.2 kB / 433.6 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2474, allocations: 4 kB / 433.6 MB, free: 0.625 MB / 378.7 MB Notification: Performance of Templates: time 0.1331/0.3805, allocations: 7.401 MB / 441 MB, free: 12.61 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.892778059002012]