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.0007852/0.0007852, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001126/0.001911, allocations: 445.8 kB / 10.44 MB, free: 256 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.00068/0.00068, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009877/0.001668, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.8515/0.8515, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1421/0.9936, allocations: 52.49 MB / 238.5 MB, free: 7.621 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.172e-06/1.172e-06, allocations: 0 / 239.7 MB, free: 6.383 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.955e-06/9.127e-06, allocations: 3.531 kB / 239.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2423/0.2423, allocations: 144.2 MB / 384 MB, free: 8.418 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.2437, allocations: 1.609 MB / 385.6 MB, free: 8.082 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.2438, allocations: 2.781 kB / 385.6 MB, free: 8.082 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.2441, allocations: 49.67 kB / 385.6 MB, free: 8.051 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.2443, allocations: 160.7 kB / 385.8 MB, free: 7.977 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.2464, allocations: 1.018 MB / 386.8 MB, free: 7.523 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003536/0.2468, allocations: 335.2 kB / 387.1 MB, free: 7.426 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.2468, allocations: 11.72 kB / 387.1 MB, free: 7.418 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.2471, allocations: 202.5 kB / 387.3 MB, free: 7.352 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.2473, allocations: 109.4 kB / 387.4 MB, free: 7.316 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.2473, allocations: 13.56 kB / 387.5 MB, free: 7.316 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.2488, allocations: 1.389 MB / 388.8 MB, free: 6.914 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.561e-05/0.2489, allocations: 63.47 kB / 388.9 MB, free: 6.895 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.327e-05/0.249, allocations: 56.88 kB / 389 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.25, allocations: 0.8787 MB / 389.8 MB, free: 6.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.25, allocations: 0 / 389.8 MB, free: 6.625 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.25, allocations: 0 / 389.8 MB, free: 6.625 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.25, allocations: 0 / 389.8 MB, free: 6.625 MB / 330.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.0009702/0.251, allocations: 0.7468 MB / 390.6 MB, free: 6.094 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.616e-05/0.251, allocations: 8.562 kB / 390.6 MB, free: 6.094 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.2512, allocations: 47.41 kB / 390.6 MB, free: 6.078 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.2513, allocations: 141.5 kB / 390.8 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.2513, allocations: 13.3 kB / 390.8 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.2514, allocations: 20.5 kB / 390.8 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003967/0.2518, allocations: 305.2 kB / 391.1 MB, free: 5.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2518, allocations: 7 kB / 391.1 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.2518, allocations: 4.938 kB / 391.1 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.2518, allocations: 9.234 kB / 391.1 MB, free: 5.672 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.2519, allocations: 112.5 kB / 391.2 MB, free: 5.641 MB / 330.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.0006576/0.2526, allocations: 0.4939 MB / 391.7 MB, free: 5.301 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.2528, allocations: 150 kB / 391.9 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.317e-05/0.2529, allocations: 65.34 kB / 391.9 MB, free: 5.211 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.253, allocations: 50.83 kB / 392 MB, free: 5.199 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.253, allocations: 43.31 kB / 392 MB, free: 5.156 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/0.253, allocations: 0 / 392 MB, free: 5.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006532/0.2537, allocations: 378 kB / 392.4 MB, free: 5.031 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.2537, allocations: 86.3 kB / 392.5 MB, free: 4.934 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.411e-05/0.2538, allocations: 122.3 kB / 392.6 MB, free: 4.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.2538, allocations: 32.58 kB / 392.6 MB, free: 4.789 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.2538, allocations: 109.5 kB / 392.7 MB, free: 4.688 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.2539, allocations: 130.6 kB / 392.9 MB, free: 4.594 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/0.2539, allocations: 66.98 kB / 392.9 MB, free: 4.566 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.796e-05/0.254, allocations: 334.9 kB / 393.3 MB, free: 4.242 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.25e-05/0.2541, allocations: 59.2 kB / 393.3 MB, free: 4.227 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.402e-05/0.2541, allocations: 130.8 kB / 393.5 MB, free: 4.133 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.2543, allocations: 215.7 kB / 393.7 MB, free: 4.012 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-06/0.2543, allocations: 0 / 393.7 MB, free: 4.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002072/0.2545, allocations: 219.3 kB / 393.9 MB, free: 3.934 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.2545, allocations: 5.344 kB / 393.9 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.2545, allocations: 2.688 kB / 393.9 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.2545, allocations: 5.812 kB / 393.9 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.2548, allocations: 103.2 kB / 394 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2548, allocations: 6.875 kB / 394 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.759e-05/0.2549, allocations: 19.14 kB / 394 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.2549, allocations: 12.09 kB / 394 MB, free: 3.895 MB / 330.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.036e-05/0.255, allocations: 135.7 kB / 394.2 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.255, allocations: 25.11 kB / 394.2 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.2552, allocations: 129.5 kB / 394.3 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.2552, allocations: 5.25 kB / 394.3 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.2552, allocations: 3.938 kB / 394.3 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2552, allocations: 0 / 394.3 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005071/0.2557, allocations: 451.8 kB / 394.8 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2557, allocations: 0 / 394.8 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.2559, allocations: 83.69 kB / 394.8 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.2559, allocations: 30.52 kB / 394.9 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2559, allocations: 9.203 kB / 394.9 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.2559, allocations: 5.688 kB / 394.9 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2559, allocations: 7.281 kB / 394.9 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2559, allocations: 6.797 kB / 394.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.2563, allocations: 477.4 kB / 395.4 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.2563, allocations: 9.5 kB / 395.4 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.2564, allocations: 18.42 kB / 395.4 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.2564, allocations: 27.14 kB / 395.4 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.2565, allocations: 19.59 kB / 395.4 MB, free: 2.961 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.609e-05/0.2565, allocations: 16.84 kB / 395.5 MB, free: 2.941 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2565, allocations: 0 / 395.5 MB, free: 2.941 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003717/0.2568, allocations: 196.2 kB / 395.7 MB, free: 2.766 MB / 330.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.0005172/0.2574, allocations: 349.5 kB / 396 MB, free: 2.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.2576, allocations: 199.8 kB / 396.2 MB, free: 2.254 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.2576, allocations: 4 kB / 396.2 MB, free: 2.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.2577, allocations: 134.6 kB / 396.3 MB, free: 2.125 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.2581, allocations: 184.4 kB / 396.5 MB, free: 1.953 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.2603, allocations: 486.9 kB / 397 MB, free: 1.461 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.907e-05/0.2603, allocations: 89.27 kB / 397.1 MB, free: 1.355 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.2605, allocations: 61.89 kB / 397.1 MB, free: 1.289 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.2607, allocations: 130.5 kB / 397.3 MB, free: 1.164 MB / 330.7 MB Notification: Performance of SimCode: time 6.52e-07/0.2607, allocations: 4 kB / 397.3 MB, free: 1.16 MB / 330.7 MB Notification: Performance of Templates: time 0.008188/0.2689, allocations: 8.057 MB / 405.3 MB, free: 9.238 MB / 346.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8503158558160067]