Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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.001763/0.001763, allocations: 108.8 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.002054/0.002054, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 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 1.442/1.442, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 51.92 kB / 371.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2497, allocations: 52.19 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03678/0.2865, allocations: 26.68 MB / 450.6 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003346/0.2898, allocations: 2.247 MB / 452.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.2899, allocations: 0 / 452.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003552/0.2903, allocations: 71.64 kB / 452.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004137/0.2907, allocations: 155.1 kB / 453 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01699/0.3077, allocations: 6.564 MB / 459.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005155/0.3082, allocations: 310.9 kB / 459.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.572e-05/0.3082, allocations: 9.297 kB / 459.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.3085, allocations: 139.5 kB / 460 MB, free: 10.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.3088, allocations: 123.6 kB / 460.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.761e-05/0.3088, allocations: 12 kB / 460.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01915/0.328, allocations: 9.686 MB / 469.9 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.3281, allocations: 67.78 kB / 469.9 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.3283, allocations: 95.66 kB / 470 MB, free: 440 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.3393, allocations: 4.708 MB / 474.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3393, allocations: 3.938 kB / 474.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3393, allocations: 0 / 474.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.3393, allocations: 0 / 474.7 MB, free: 11.71 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.003561/0.3428, allocations: 1.085 MB / 475.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3429, allocations: 8.031 kB / 475.8 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.3431, allocations: 28.53 kB / 475.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.3434, allocations: 157 kB / 476 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.3434, allocations: 16.33 kB / 476 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.3434, allocations: 12 kB / 476 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007693/0.3442, allocations: 289.4 kB / 476.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3442, allocations: 0 / 476.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.3442, allocations: 8 kB / 476.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.3443, allocations: 11.94 kB / 476.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000861/0.3451, allocations: 323.6 kB / 476.6 MB, free: 9.715 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.001587/0.3467, allocations: 0.7846 MB / 477.4 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000768/0.3475, allocations: 241.1 kB / 477.7 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.3478, allocations: 125.6 kB / 477.8 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01226/0.3601, allocations: 2.69 MB / 480.5 MB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.3601, allocations: 42.5 kB / 480.5 MB, free: 5.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.054e-06/0.3601, allocations: 4 kB / 480.5 MB, free: 5.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002976/0.3631, allocations: 0.6837 MB / 481.2 MB, free: 5.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.3631, allocations: 81.11 kB / 481.3 MB, free: 4.945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.3633, allocations: 130 kB / 481.4 MB, free: 4.809 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/0.3633, allocations: 33.64 kB / 481.4 MB, free: 4.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.424e-05/0.3634, allocations: 108.9 kB / 481.6 MB, free: 4.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.3635, allocations: 134.8 kB / 481.7 MB, free: 4.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.3637, allocations: 73.64 kB / 481.8 MB, free: 4.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3638, allocations: 334.8 kB / 482.1 MB, free: 4.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.3642, allocations: 131.9 kB / 482.2 MB, free: 3.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000545/0.3648, allocations: 207.5 kB / 482.4 MB, free: 3.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009833/0.3657, allocations: 368 kB / 482.8 MB, free: 3.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3657, allocations: 4 kB / 482.8 MB, free: 3.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001239/0.367, allocations: 415 kB / 483.2 MB, free: 2.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.367, allocations: 14.72 kB / 483.2 MB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.367, allocations: 0 / 483.2 MB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.367, allocations: 4 kB / 483.2 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005334/0.3676, allocations: 91.88 kB / 483.3 MB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/0.3676, allocations: 15.81 kB / 483.3 MB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.3679, allocations: 23.97 kB / 483.3 MB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.3679, allocations: 16 kB / 483.3 MB, free: 2.797 MB / 382.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.0001902/0.3681, allocations: 145.8 kB / 483.5 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.3683, allocations: 15.91 kB / 483.5 MB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/0.3688, allocations: 182.4 kB / 483.7 MB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.3688, allocations: 11.94 kB / 483.7 MB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3688, allocations: 4 kB / 483.7 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.3688, allocations: 7.922 kB / 483.7 MB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.3707, allocations: 0.7314 MB / 484.4 MB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3707, allocations: 0 / 484.4 MB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.3712, allocations: 80.03 kB / 484.5 MB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.3712, allocations: 8 kB / 484.5 MB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.3712, allocations: 11.98 kB / 484.5 MB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3712, allocations: 4 kB / 484.5 MB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.406e-05/0.3712, allocations: 7.938 kB / 484.5 MB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.3728, allocations: 0.6995 MB / 485.2 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.373, allocations: 43.8 kB / 485.3 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.373, allocations: 12 kB / 485.3 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.3734, allocations: 23.98 kB / 485.3 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.3734, allocations: 31.83 kB / 485.4 MB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/0.3735, allocations: 15.98 kB / 485.4 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.325e-05/0.3736, allocations: 107.3 kB / 485.5 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3736, allocations: 0 / 485.5 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002644/0.3762, allocations: 0.9511 MB / 486.4 MB, free: 15.59 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.0045/0.3807, allocations: 1.253 MB / 487.7 MB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.3818, allocations: 336.4 kB / 488 MB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.3819, allocations: 0 / 488 MB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004953/0.3823, allocations: 163.8 kB / 488.2 MB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007531/0.3831, allocations: 99.52 kB / 488.3 MB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.3847, allocations: 0.6386 MB / 488.9 MB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.3851, allocations: 0.7332 MB / 489.6 MB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.3853, allocations: 51.41 kB / 489.7 MB, free: 12.25 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3853, allocations: 0 / 489.7 MB, free: 12.25 MB / 398.1 MB Notification: Performance of Templates: time 0.0332/0.4185, allocations: 19.74 MB / 0.4975 GB, free: 8.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 10.013249948853627]