Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.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.001354/0.001354, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001462/0.001462, allocations: 213.1 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 47.92 kB / 378.3 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2318, allocations: 53.36 MB / 431.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0353/0.2671, allocations: 26.88 MB / 458.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003221/0.2703, allocations: 2.259 MB / 460.8 MB, free: 9.668 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.396e-05/0.2704, allocations: 0 / 460.8 MB, free: 9.668 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004365/0.2708, allocations: 67.64 kB / 460.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004854/0.2713, allocations: 171 kB / 461 MB, free: 9.434 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0168/0.2881, allocations: 6.585 MB / 467.6 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005687/0.2887, allocations: 346.6 kB / 467.9 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.585e-05/0.2887, allocations: 9.75 kB / 467.9 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.289, allocations: 139.6 kB / 468.1 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.2892, allocations: 135.5 kB / 468.2 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.2893, allocations: 12 kB / 468.2 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01825/0.3075, allocations: 9.705 MB / 477.9 MB, free: 8.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.3077, allocations: 67.86 kB / 478 MB, free: 8.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.3078, allocations: 103.5 kB / 478.1 MB, free: 8.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.3182, allocations: 4.736 MB / 482.8 MB, free: 3.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.3182, allocations: 4 kB / 482.8 MB, free: 3.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3182, allocations: 4 kB / 482.8 MB, free: 3.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.3182, allocations: 4 kB / 482.8 MB, free: 3.582 MB / 382.1 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.003311/0.3215, allocations: 1.105 MB / 483.9 MB, free: 2.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3216, allocations: 12.03 kB / 483.9 MB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.3217, allocations: 28.2 kB / 484 MB, free: 2.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.322, allocations: 164.9 kB / 484.1 MB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.322, allocations: 16.27 kB / 484.2 MB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.391e-05/0.3221, allocations: 23.98 kB / 484.2 MB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007494/0.3228, allocations: 289.4 kB / 484.5 MB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3228, allocations: 0 / 484.5 MB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/0.3229, allocations: 12 kB / 484.5 MB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.3229, allocations: 7.938 kB / 484.5 MB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008619/0.3238, allocations: 315.7 kB / 484.8 MB, free: 1.551 MB / 382.1 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.001562/0.3253, allocations: 0.7927 MB / 485.6 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007664/0.3261, allocations: 253.1 kB / 485.8 MB, free: 428 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.3264, allocations: 125.6 kB / 485.9 MB, free: 296 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0121/0.3385, allocations: 2.667 MB / 488.6 MB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.3385, allocations: 42.5 kB / 488.7 MB, free: 13.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.013e-06/0.3385, allocations: 0 / 488.7 MB, free: 13.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003039/0.3416, allocations: 0.7062 MB / 489.4 MB, free: 12.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.3416, allocations: 81.11 kB / 489.4 MB, free: 12.76 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.3418, allocations: 148.9 kB / 489.6 MB, free: 12.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.3418, allocations: 29.7 kB / 489.6 MB, free: 12.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.765e-05/0.3419, allocations: 120.9 kB / 489.7 MB, free: 12.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.342, allocations: 126.8 kB / 489.9 MB, free: 12.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.3422, allocations: 81.56 kB / 489.9 MB, free: 12.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3423, allocations: 330.8 kB / 490.3 MB, free: 11.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/0.3427, allocations: 135.9 kB / 490.4 MB, free: 11.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/0.3432, allocations: 211.6 kB / 490.6 MB, free: 11.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009985/0.3442, allocations: 361.2 kB / 491 MB, free: 11.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3442, allocations: 0 / 491 MB, free: 11.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001229/0.3455, allocations: 423.5 kB / 491.4 MB, free: 10.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3455, allocations: 4 kB / 491.4 MB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3455, allocations: 7.984 kB / 491.4 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.3455, allocations: 7.938 kB / 491.4 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/0.346, allocations: 96.03 kB / 491.5 MB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.346, allocations: 7.938 kB / 491.5 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.3464, allocations: 23.94 kB / 491.5 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/0.3464, allocations: 19.98 kB / 491.5 MB, free: 10.58 MB / 398.1 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 0.0001712/0.3466, allocations: 145.7 kB / 491.7 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.3467, allocations: 19.91 kB / 491.7 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005085/0.3472, allocations: 182.8 kB / 491.9 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3472, allocations: 4 kB / 491.9 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3472, allocations: 0 / 491.9 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.3472, allocations: 4 kB / 491.9 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.3492, allocations: 0.7664 MB / 492.6 MB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3492, allocations: 0 / 492.6 MB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004629/0.3497, allocations: 83.88 kB / 492.7 MB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.3497, allocations: 0 / 492.7 MB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.3497, allocations: 12 kB / 492.7 MB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.423e-06/0.3497, allocations: 7.922 kB / 492.7 MB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.3497, allocations: 8 kB / 492.8 MB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.3514, allocations: 0.7154 MB / 493.5 MB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.3515, allocations: 59.67 kB / 493.5 MB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.3516, allocations: 8 kB / 493.5 MB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.3519, allocations: 24.05 kB / 493.6 MB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.352, allocations: 27.89 kB / 493.6 MB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.352, allocations: 19.98 kB / 493.6 MB, free: 8.387 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.037e-05/0.3521, allocations: 111.2 kB / 493.7 MB, free: 8.277 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3521, allocations: 0 / 493.7 MB, free: 8.277 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002697/0.3548, allocations: 0.9589 MB / 494.7 MB, free: 7.316 MB / 398.1 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 (37): * Single equations (assignments): 37 * 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.003899/0.3587, allocations: 1.256 MB / 495.9 MB, free: 6.051 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.3598, allocations: 331.7 kB / 496.3 MB, free: 5.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3598, allocations: 0 / 496.3 MB, free: 5.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000481/0.3603, allocations: 174.8 kB / 496.4 MB, free: 5.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007519/0.361, allocations: 107.8 kB / 496.5 MB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.3625, allocations: 0.6218 MB / 497.2 MB, free: 4.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.3629, allocations: 0.749 MB / 497.9 MB, free: 4.016 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003651/0.3633, allocations: 90.16 kB / 498 MB, free: 3.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.3635, allocations: 43.41 kB / 498 MB, free: 3.887 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3635, allocations: 0 / 498 MB, free: 3.887 MB / 398.1 MB Notification: Performance of Templates: time 0.04755/0.411, allocations: 30.16 MB / 0.5158 GB, free: 5.758 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.31536651798524]