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.001513/0.001513, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001676/0.001676, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.397/1.397, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.001597/0.001597, allocations: 51.86 kB / 379 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.245, allocations: 53.36 MB / 432.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03517/0.2801, allocations: 26.89 MB / 459.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003094/0.2832, allocations: 2.255 MB / 461.5 MB, free: 9.695 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.2833, allocations: 11.88 kB / 461.5 MB, free: 9.684 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.2837, allocations: 59.64 kB / 461.6 MB, free: 9.625 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000493/0.2842, allocations: 163 kB / 461.8 MB, free: 9.465 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01644/0.3007, allocations: 6.586 MB / 468.3 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005271/0.3012, allocations: 342.7 kB / 468.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.3012, allocations: 9.734 kB / 468.7 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/0.3016, allocations: 143.5 kB / 468.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003752/0.302, allocations: 139.5 kB / 469 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.021e-05/0.302, allocations: 12 kB / 469 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01951/0.3215, allocations: 9.698 MB / 478.7 MB, free: 8.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.3217, allocations: 75.77 kB / 478.8 MB, free: 8.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.3219, allocations: 103.5 kB / 478.9 MB, free: 8.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.3333, allocations: 4.743 MB / 483.6 MB, free: 3.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3333, allocations: 0 / 483.6 MB, free: 3.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3333, allocations: 0 / 483.6 MB, free: 3.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.3333, allocations: 0 / 483.6 MB, free: 3.605 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.003514/0.3369, allocations: 1.105 MB / 484.7 MB, free: 2.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.3369, allocations: 12.03 kB / 484.7 MB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.3371, allocations: 28.16 kB / 484.7 MB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.3374, allocations: 171.9 kB / 484.9 MB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.3374, allocations: 16.27 kB / 484.9 MB, free: 2.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.462e-05/0.3375, allocations: 19.95 kB / 484.9 MB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007728/0.3383, allocations: 289.4 kB / 485.2 MB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3383, allocations: 7.984 kB / 485.2 MB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.3383, allocations: 4 kB / 485.2 MB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.3383, allocations: 15.94 kB / 485.3 MB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008208/0.3392, allocations: 307.8 kB / 485.6 MB, free: 1.574 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.00162/0.3408, allocations: 0.7965 MB / 486.4 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007365/0.3415, allocations: 245.1 kB / 486.6 MB, free: 456 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.3418, allocations: 133.6 kB / 486.7 MB, free: 316 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01192/0.3538, allocations: 2.667 MB / 489.4 MB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/0.3538, allocations: 38.55 kB / 489.4 MB, free: 13.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.786e-06/0.3538, allocations: 4 kB / 489.4 MB, free: 13.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003059/0.3569, allocations: 0.7036 MB / 490.1 MB, free: 12.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.3569, allocations: 81.11 kB / 490.2 MB, free: 12.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.3571, allocations: 140.9 kB / 490.3 MB, free: 12.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.3571, allocations: 37.7 kB / 490.4 MB, free: 12.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.865e-05/0.3572, allocations: 116.9 kB / 490.5 MB, free: 12.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.3574, allocations: 142.7 kB / 490.6 MB, free: 12.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.3575, allocations: 69.64 kB / 490.7 MB, free: 12.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3576, allocations: 334.8 kB / 491 MB, free: 11.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.358, allocations: 131.9 kB / 491.2 MB, free: 11.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005106/0.3585, allocations: 219.5 kB / 491.4 MB, free: 11.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009503/0.3595, allocations: 361.2 kB / 491.7 MB, free: 11.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3595, allocations: 0 / 491.7 MB, free: 11.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001193/0.3607, allocations: 417.1 kB / 492.1 MB, free: 10.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3607, allocations: 8 kB / 492.1 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3607, allocations: 0 / 492.1 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.3607, allocations: 7.938 kB / 492.2 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/0.3612, allocations: 87.88 kB / 492.2 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.3612, allocations: 4.219 kB / 492.2 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/0.3615, allocations: 31.97 kB / 492.3 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.3616, allocations: 12 kB / 492.3 MB, free: 10.61 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.3617, allocations: 145.7 kB / 492.4 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.3619, allocations: 23.86 kB / 492.5 MB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005145/0.3624, allocations: 193.7 kB / 492.6 MB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.3624, allocations: 7.984 kB / 492.6 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3624, allocations: 0 / 492.6 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.3624, allocations: 3.984 kB / 492.7 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.3643, allocations: 0.7654 MB / 493.4 MB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.3643, allocations: 4 kB / 493.4 MB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004308/0.3647, allocations: 71.89 kB / 493.5 MB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.3647, allocations: 4 kB / 493.5 MB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.3648, allocations: 11.98 kB / 493.5 MB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3648, allocations: 7.938 kB / 493.5 MB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3648, allocations: 0 / 493.5 MB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.3664, allocations: 0.7269 MB / 494.2 MB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.3665, allocations: 47.83 kB / 494.3 MB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.3666, allocations: 12 kB / 494.3 MB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/0.367, allocations: 28.03 kB / 494.3 MB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.367, allocations: 27.89 kB / 494.4 MB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.367, allocations: 23.92 kB / 494.4 MB, free: 8.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.574e-05/0.3671, allocations: 107.2 kB / 494.5 MB, free: 8.301 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3671, allocations: 0 / 494.5 MB, free: 8.301 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002659/0.3698, allocations: 0.9628 MB / 495.4 MB, free: 7.336 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.004407/0.3742, allocations: 1.246 MB / 496.7 MB, free: 6.074 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.3753, allocations: 334 kB / 497 MB, free: 5.754 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3753, allocations: 0 / 497 MB, free: 5.754 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004787/0.3758, allocations: 163.8 kB / 497.2 MB, free: 5.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007322/0.3765, allocations: 112.1 kB / 497.3 MB, free: 5.484 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.378, allocations: 0.6547 MB / 497.9 MB, free: 4.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.3784, allocations: 0.7528 MB / 498.7 MB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.3786, allocations: 43.42 kB / 498.7 MB, free: 3.961 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3786, allocations: 0 / 498.7 MB, free: 3.961 MB / 398.1 MB Notification: Performance of Templates: time 0.03233/0.4109, allocations: 20.21 MB / 0.5068 GB, free: 15.73 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/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: 9.417667561909184]