Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001767/0.001767, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002094/0.002094, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 230.2 MB / 255.1 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 59.84 kB / 374.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1089, allocations: 53.32 MB / 427.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2255/0.3345, allocations: 26.74 MB / 454.6 MB, free: 8.242 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.337, allocations: 2.255 MB / 456.8 MB, free: 8.195 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.78e-05/0.3371, allocations: 0.8438 kB / 456.8 MB, free: 8.195 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003406/0.3374, allocations: 71.3 kB / 456.9 MB, free: 8.191 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003719/0.3378, allocations: 167.8 kB / 457.1 MB, free: 8.191 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01553/0.3533, allocations: 6.54 MB / 463.6 MB, free: 7.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005431/0.3539, allocations: 338.2 kB / 463.9 MB, free: 7.488 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.3539, allocations: 7.031 kB / 463.9 MB, free: 7.484 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.3541, allocations: 144.9 kB / 464.1 MB, free: 7.461 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.3544, allocations: 133.4 kB / 464.2 MB, free: 7.441 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.3544, allocations: 11.56 kB / 464.2 MB, free: 7.441 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01841/0.3728, allocations: 9.654 MB / 473.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.373, allocations: 74.34 kB / 474 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.3731, allocations: 102.8 kB / 474.1 MB, free: 4.227 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.3842, allocations: 4.739 MB / 478.8 MB, free: 1.629 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3842, allocations: 7.938 kB / 478.8 MB, free: 1.621 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3842, allocations: 1.156 kB / 478.8 MB, free: 1.621 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.3842, allocations: 3.938 kB / 478.8 MB, free: 1.617 MB / 366.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.003824/0.388, allocations: 1.179 MB / 480 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.388, allocations: 9.906 kB / 480 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.3882, allocations: 24.72 kB / 480 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.3884, allocations: 225.5 kB / 480.2 MB, free: 476 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.3884, allocations: 14.12 kB / 480.2 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.3885, allocations: 17.58 kB / 480.3 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006611/0.3891, allocations: 285.1 kB / 480.5 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.3891, allocations: 1.469 kB / 480.5 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.3892, allocations: 5.406 kB / 480.6 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.3892, allocations: 6.906 kB / 480.6 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007688/0.39, allocations: 314.2 kB / 480.9 MB, free: 136 kB / 366.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.001549/0.3915, allocations: 0.8315 MB / 481.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007673/0.3923, allocations: 237.3 kB / 481.9 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.3926, allocations: 127.4 kB / 482.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01668/0.4093, allocations: 12.84 MB / 494.9 MB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.4093, allocations: 41.25 kB / 494.9 MB, free: 1.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.054e-06/0.4093, allocations: 0 / 494.9 MB, free: 1.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003018/0.4124, allocations: 0.7102 MB / 495.6 MB, free: 0.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.4124, allocations: 85.17 kB / 495.7 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.4126, allocations: 144.6 kB / 495.9 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.4126, allocations: 32.08 kB / 495.9 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.322e-05/0.4127, allocations: 114.2 kB / 496 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.4128, allocations: 127.3 kB / 496.1 MB, free: 408 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.4129, allocations: 73.55 kB / 496.2 MB, free: 356 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4131, allocations: 335.1 kB / 496.5 MB, free: 16 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/0.4135, allocations: 131 kB / 496.7 MB, free: 15.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005132/0.414, allocations: 209.3 kB / 496.9 MB, free: 15.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009718/0.415, allocations: 368.1 kB / 497.2 MB, free: 15.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.415, allocations: 1.375 kB / 497.2 MB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001184/0.4162, allocations: 426 kB / 497.6 MB, free: 15.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4162, allocations: 6 kB / 497.6 MB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4162, allocations: 10.7 kB / 497.7 MB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.4162, allocations: 2.656 kB / 497.7 MB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.4167, allocations: 94.25 kB / 497.8 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4167, allocations: 4.375 kB / 497.8 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.417, allocations: 26.86 kB / 497.8 MB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.417, allocations: 14.89 kB / 497.8 MB, free: 15.3 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.0001571/0.4172, allocations: 146 kB / 497.9 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.4173, allocations: 23.92 kB / 498 MB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000465/0.4178, allocations: 192.4 kB / 498.1 MB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.4178, allocations: 10.91 kB / 498.2 MB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.4178, allocations: 0.875 kB / 498.2 MB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4178, allocations: 0 / 498.2 MB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.4196, allocations: 0.7861 MB / 498.9 MB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4196, allocations: 2.594 kB / 498.9 MB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/0.42, allocations: 79.75 kB / 499 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.4201, allocations: 4.094 kB / 499 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.4201, allocations: 19.89 kB / 499.1 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4201, allocations: 2.75 kB / 499.1 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4201, allocations: 3.141 kB / 499.1 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.4217, allocations: 0.7237 MB / 499.8 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.4218, allocations: 117.8 kB / 499.9 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.4219, allocations: 7.719 kB / 499.9 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.4222, allocations: 23.22 kB / 499.9 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.4223, allocations: 27.06 kB / 500 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.46e-05/0.4223, allocations: 19.33 kB / 500 MB, free: 13.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.737e-05/0.4224, allocations: 112.9 kB / 0.4884 GB, free: 13.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4224, allocations: 3.938 kB / 0.4884 GB, free: 13.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00313/0.4255, allocations: 0.9674 MB / 0.4893 GB, free: 13.39 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.004167/0.4297, allocations: 1.263 MB / 0.4905 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.4308, allocations: 328 kB / 0.4909 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4308, allocations: 4 kB / 0.4909 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004897/0.4313, allocations: 171.7 kB / 0.491 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007584/0.432, allocations: 106.3 kB / 0.4911 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.4335, allocations: 0.6542 MB / 0.4918 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.4339, allocations: 0.7452 MB / 0.4925 GB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.4341, allocations: 43.42 kB / 0.4925 GB, free: 10.52 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4341, allocations: 0 / 0.4925 GB, free: 10.52 MB / 398.1 MB Notification: Performance of Templates: time 0.03157/0.4657, allocations: 20.21 MB / 0.5123 GB, free: 6.305 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.809495719149709]