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.001365/0.001365, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001118/0.001118, allocations: 169.1 kB / 24.91 MB, free: 8.219 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.954/0.954, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.433e-06/1.433e-06, allocations: 0 / 273.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.191e-05, allocations: 5.266 kB / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.235/0.2351, allocations: 146.8 MB / 420.3 MB, free: 14.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.2364, allocations: 1.601 MB / 421.9 MB, free: 12.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.274e-05/0.2365, allocations: 0 / 421.9 MB, free: 12.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.2368, allocations: 61.98 kB / 421.9 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.2371, allocations: 188.5 kB / 422.1 MB, free: 12.67 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.2391, allocations: 1.067 MB / 423.2 MB, free: 11.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003173/0.2394, allocations: 354.5 kB / 423.5 MB, free: 11.26 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.2395, allocations: 18.44 kB / 423.5 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.2397, allocations: 215.4 kB / 423.7 MB, free: 11.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.2399, allocations: 115.7 kB / 423.9 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.2399, allocations: 16 kB / 423.9 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.2414, allocations: 1.36 MB / 425.2 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.02e-05/0.2415, allocations: 83.77 kB / 425.3 MB, free: 9.453 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.884e-05/0.2415, allocations: 75.89 kB / 425.4 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.2426, allocations: 1.087 MB / 426.5 MB, free: 8.289 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2426, allocations: 0 / 426.5 MB, free: 8.289 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2426, allocations: 0 / 426.5 MB, free: 8.289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.2426, allocations: 0 / 426.5 MB, free: 8.289 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.0009099/0.2435, allocations: 0.6013 MB / 427.1 MB, free: 7.664 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.2435, allocations: 8.031 kB / 427.1 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.2437, allocations: 38.84 kB / 427.1 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.2438, allocations: 153.7 kB / 427.3 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.2438, allocations: 20.27 kB / 427.3 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.2439, allocations: 20 kB / 427.3 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.2441, allocations: 303.8 kB / 427.6 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.2441, allocations: 0 / 427.6 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.2442, allocations: 8 kB / 427.6 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.2442, allocations: 4 kB / 427.6 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.2443, allocations: 105.2 kB / 427.7 MB, free: 6.957 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.0006657/0.245, allocations: 0.5085 MB / 428.2 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.2452, allocations: 137.1 kB / 428.4 MB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.751e-05/0.2453, allocations: 62.33 kB / 428.4 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.2454, allocations: 60.95 kB / 428.5 MB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.2454, allocations: 34.56 kB / 428.5 MB, free: 6.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.262e-06/0.2454, allocations: 0 / 428.5 MB, free: 6.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006533/0.2461, allocations: 386.5 kB / 428.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.2461, allocations: 85.05 kB / 429 MB, free: 5.613 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.335e-05/0.2461, allocations: 136.6 kB / 429.1 MB, free: 5.469 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.2462, allocations: 29.7 kB / 429.1 MB, free: 5.434 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.2462, allocations: 116.9 kB / 429.3 MB, free: 5.316 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/0.2463, allocations: 130.8 kB / 429.4 MB, free: 5.188 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.062e-05/0.2463, allocations: 65.66 kB / 429.4 MB, free: 5.117 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.2464, allocations: 330.8 kB / 429.8 MB, free: 4.785 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.57e-05/0.2465, allocations: 54.81 kB / 429.8 MB, free: 4.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.558e-05/0.2466, allocations: 131.5 kB / 429.9 MB, free: 4.574 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.2467, allocations: 210.3 kB / 430.2 MB, free: 4.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2467, allocations: 0 / 430.2 MB, free: 4.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002183/0.247, allocations: 225 kB / 430.4 MB, free: 4.117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.247, allocations: 8 kB / 430.4 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.247, allocations: 0 / 430.4 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.247, allocations: 4 kB / 430.4 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.2472, allocations: 86.39 kB / 430.5 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.2472, allocations: 7.938 kB / 430.5 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.2473, allocations: 23.88 kB / 430.5 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.2473, allocations: 15.98 kB / 430.5 MB, free: 3.977 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 7.599e-05/0.2474, allocations: 128.7 kB / 430.6 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.2474, allocations: 31.98 kB / 430.7 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.2476, allocations: 121.1 kB / 430.8 MB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2476, allocations: 4 kB / 430.8 MB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2476, allocations: 7.938 kB / 430.8 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2476, allocations: 0 / 430.8 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000533/0.2481, allocations: 455.5 kB / 431.2 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2481, allocations: 0 / 431.2 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.2483, allocations: 75.83 kB / 431.3 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2483, allocations: 8.156 kB / 431.3 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.2483, allocations: 8 kB / 431.3 MB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2483, allocations: 4 kB / 431.3 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2483, allocations: 7.938 kB / 431.3 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/0.2488, allocations: 467 kB / 431.8 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.2488, allocations: 31.88 kB / 431.8 MB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.2488, allocations: 4 kB / 431.8 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.249, allocations: 18.97 kB / 431.9 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.249, allocations: 31.89 kB / 431.9 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.249, allocations: 11.98 kB / 431.9 MB, free: 2.504 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.149e-05/0.249, allocations: 31.48 kB / 431.9 MB, free: 2.473 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.249, allocations: 0 / 431.9 MB, free: 2.473 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003312/0.2494, allocations: 155.6 kB / 432.1 MB, free: 2.32 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.0003002/0.2497, allocations: 227.8 kB / 432.3 MB, free: 2.086 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.2499, allocations: 189.6 kB / 432.5 MB, free: 1.898 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2499, allocations: 4 kB / 432.5 MB, free: 1.895 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.277e-05/0.25, allocations: 116.7 kB / 432.6 MB, free: 1.777 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.2503, allocations: 111.5 kB / 432.7 MB, free: 1.676 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/0.2511, allocations: 0.4966 MB / 433.2 MB, free: 1.137 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.387e-05/0.2512, allocations: 93.56 kB / 433.3 MB, free: 1.027 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.2514, allocations: 70.19 kB / 433.4 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.2516, allocations: 135.2 kB / 433.5 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2516, allocations: 0 / 433.5 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of Templates: time 0.1346/0.3861, allocations: 7.403 MB / 440.9 MB, free: 12.78 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 -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: 3.06000011600554]