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.001366/0.001366, allocations: 100.7 kB / 20.47 MB, free: 1.129 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.001388/0.001388, allocations: 188.9 kB / 23.76 MB, free: 4.336 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.409/1.409, allocations: 225.7 MB / 252.6 MB, free: 12.77 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.001574/0.001574, allocations: 47.92 kB / 371 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2241, allocations: 52.18 MB / 423.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03418/0.2583, allocations: 23.85 MB / 447 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.2612, allocations: 2.002 MB / 449 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.2613, allocations: 0 / 449 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.2616, allocations: 55.67 kB / 449.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.262, allocations: 159.1 kB / 449.2 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01553/0.2775, allocations: 6.491 MB / 455.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004592/0.278, allocations: 322.7 kB / 456 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.81e-05/0.278, allocations: 9.297 kB / 456 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.2783, allocations: 135.6 kB / 456.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.2785, allocations: 123.5 kB / 456.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.2786, allocations: 12 kB / 456.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01609/0.2947, allocations: 8.948 MB / 465.2 MB, free: 4.285 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.2948, allocations: 71.83 kB / 465.3 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.2949, allocations: 79.72 kB / 465.4 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008838/0.3038, allocations: 4.65 MB / 470 MB, free: 15.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.3038, allocations: 4 kB / 470 MB, free: 15.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3038, allocations: 0 / 470 MB, free: 15.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.3038, allocations: 0 / 470 MB, free: 15.47 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.003193/0.307, allocations: 1.074 MB / 471.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.307, allocations: 12.03 kB / 471.1 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.3072, allocations: 24.59 kB / 471.2 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.3075, allocations: 161 kB / 471.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.3075, allocations: 12.27 kB / 471.3 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.3075, allocations: 16 kB / 471.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000822/0.3083, allocations: 388.2 kB / 471.7 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3084, allocations: 3.984 kB / 471.7 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.3084, allocations: 8 kB / 471.7 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.3084, allocations: 15.92 kB / 471.8 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008536/0.3093, allocations: 315.6 kB / 472.1 MB, free: 13.36 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.00142/0.3107, allocations: 0.6398 MB / 472.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007633/0.3114, allocations: 245.1 kB / 472.9 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.3118, allocations: 125.6 kB / 473.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01167/0.3235, allocations: 2.698 MB / 475.8 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.3235, allocations: 42.55 kB / 475.8 MB, free: 9.547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.853e-06/0.3235, allocations: 3.938 kB / 475.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002914/0.3264, allocations: 0.6803 MB / 476.5 MB, free: 8.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.3265, allocations: 85.09 kB / 476.6 MB, free: 8.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.3266, allocations: 126 kB / 476.7 MB, free: 8.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.3266, allocations: 29.7 kB / 476.7 MB, free: 8.586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.3267, allocations: 116.9 kB / 476.8 MB, free: 8.469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.3268, allocations: 134.8 kB / 477 MB, free: 8.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.327, allocations: 69.69 kB / 477 MB, free: 8.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3271, allocations: 330.8 kB / 477.4 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/0.3275, allocations: 135.8 kB / 477.5 MB, free: 7.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/0.3281, allocations: 219.5 kB / 477.7 MB, free: 7.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.3291, allocations: 364.7 kB / 478.1 MB, free: 7.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3291, allocations: 0 / 478.1 MB, free: 7.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001241/0.3303, allocations: 415 kB / 478.5 MB, free: 6.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.3303, allocations: 8 kB / 478.5 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3303, allocations: 0 / 478.5 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3303, allocations: 4 kB / 478.5 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004956/0.3308, allocations: 91.88 kB / 478.6 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.3309, allocations: 7.938 kB / 478.6 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.3312, allocations: 36.08 kB / 478.6 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.3312, allocations: 16 kB / 478.6 MB, free: 6.605 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.0001703/0.3314, allocations: 145.7 kB / 478.8 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.3315, allocations: 15.91 kB / 478.8 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005083/0.332, allocations: 197.8 kB / 479 MB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.332, allocations: 4 kB / 479 MB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.332, allocations: 3.938 kB / 479 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.332, allocations: 3.984 kB / 479 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.3338, allocations: 0.6656 MB / 479.7 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3338, allocations: 4 kB / 479.7 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004431/0.3342, allocations: 79.89 kB / 479.7 MB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3342, allocations: 160 / 479.7 MB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.3342, allocations: 19.98 kB / 479.8 MB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3342, allocations: 0 / 479.8 MB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3342, allocations: 4 kB / 479.8 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.3359, allocations: 0.7034 MB / 480.5 MB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.336, allocations: 47.73 kB / 480.5 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.3361, allocations: 8 kB / 480.5 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/0.3364, allocations: 27.97 kB / 480.5 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.3365, allocations: 27.89 kB / 480.6 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.3365, allocations: 15.94 kB / 480.6 MB, free: 4.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.816e-05/0.3366, allocations: 95.27 kB / 480.7 MB, free: 4.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3366, allocations: 4.062 kB / 480.7 MB, free: 4.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002401/0.339, allocations: 0.955 MB / 481.6 MB, free: 3.484 MB / 382.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.004151/0.3431, allocations: 1.259 MB / 482.9 MB, free: 2.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.3442, allocations: 332 kB / 483.2 MB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3442, allocations: 448 / 483.2 MB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004859/0.3447, allocations: 165.6 kB / 483.4 MB, free: 1.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007372/0.3454, allocations: 96.14 kB / 483.5 MB, free: 1.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.3468, allocations: 0.6057 MB / 484.1 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.347, allocations: 124.9 kB / 484.2 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003678/0.3473, allocations: 85.88 kB / 484.3 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.3475, allocations: 40.47 kB / 484.3 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3475, allocations: 3.938 kB / 484.3 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of Templates: time 0.04422/0.3917, allocations: 29.6 MB / 0.5019 GB, free: 3.215 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/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: 6.099298324435949]