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.001785/0.001785, allocations: 72.25 kB / 20.67 MB, free: 1.047 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.002118/0.002118, allocations: 149.2 kB / 23.93 MB, free: 4.172 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.436/1.436, allocations: 173.4 MB / 200.5 MB, free: 12.84 MB / 190.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 1.774e-06/1.774e-06, allocations: 3.938 kB / 319 MB, free: 3.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.161e-05, allocations: 6.219 kB / 319 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03322/0.03324, allocations: 23.81 MB / 342.8 MB, free: 3.031 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003082/0.03632, allocations: 1.993 MB / 344.8 MB, free: 1.492 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.482e-05/0.0364, allocations: 1.344 kB / 344.8 MB, free: 1.492 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.03674, allocations: 55.19 kB / 344.8 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004608/0.0372, allocations: 160.7 kB / 345 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01916/0.05636, allocations: 6.501 MB / 351.5 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000508/0.05687, allocations: 306.9 kB / 351.8 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.05692, allocations: 13.3 kB / 351.8 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.05722, allocations: 179.5 kB / 352 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.05743, allocations: 103.7 kB / 352.1 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.05747, allocations: 12 kB / 352.1 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0172/0.07467, allocations: 8.967 MB / 361.1 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.0748, allocations: 71.78 kB / 361.1 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.07497, allocations: 75.88 kB / 361.2 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01362/0.08858, allocations: 5.855 MB / 367.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.08859, allocations: 3.938 kB / 367.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.08859, allocations: 0 / 367.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.0886, allocations: 0 / 367.1 MB, free: 11.46 MB / 334.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.003711/0.09231, allocations: 1.071 MB / 368.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.09235, allocations: 8.922 kB / 368.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.09253, allocations: 28.59 kB / 368.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.09286, allocations: 164.9 kB / 368.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.09288, allocations: 12.33 kB / 368.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.411e-05/0.09293, allocations: 15.94 kB / 368.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008423/0.09377, allocations: 388.2 kB / 368.7 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.0938, allocations: 7.984 kB / 368.7 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.09383, allocations: 4 kB / 368.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.09385, allocations: 8 kB / 368.8 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008407/0.09469, allocations: 315.7 kB / 369.1 MB, free: 9.363 MB / 334.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.001469/0.09616, allocations: 0.6439 MB / 369.7 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007585/0.09692, allocations: 248.1 kB / 370 MB, free: 8.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/0.09725, allocations: 129.6 kB / 370.1 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01276/0.11, allocations: 2.702 MB / 372.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.203e-05/0.1101, allocations: 38.5 kB / 372.8 MB, free: 5.539 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.495e-06/0.1101, allocations: 4 kB / 372.8 MB, free: 5.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.003159/0.1132, allocations: 0.6877 MB / 373.5 MB, free: 4.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.1133, allocations: 85.05 kB / 373.6 MB, free: 4.742 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.1134, allocations: 141.7 kB / 373.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.1135, allocations: 33.64 kB / 373.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.576e-05/0.1135, allocations: 104.9 kB / 373.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.1137, allocations: 142.8 kB / 374 MB, free: 4.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.1138, allocations: 69.69 kB / 374.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1139, allocations: 326.8 kB / 374.4 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.1143, allocations: 135.9 kB / 374.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/0.1149, allocations: 207.6 kB / 374.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.1159, allocations: 366.8 kB / 375.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.1159, allocations: 0 / 375.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00124/0.1171, allocations: 421.2 kB / 375.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.1171, allocations: 4 kB / 375.5 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.1171, allocations: 4 kB / 375.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.1172, allocations: 4 kB / 375.5 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005094/0.1177, allocations: 87.88 kB / 375.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.1177, allocations: 7.938 kB / 375.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.118, allocations: 40.08 kB / 375.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.118, allocations: 15.98 kB / 375.7 MB, free: 2.582 MB / 334.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.0001594/0.1182, allocations: 141.7 kB / 375.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.1184, allocations: 19.91 kB / 375.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005244/0.1189, allocations: 182.5 kB / 376 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.1189, allocations: 4 kB / 376 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1189, allocations: 0 / 376 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1189, allocations: 7.922 kB / 376 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.1207, allocations: 0.665 MB / 376.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1207, allocations: 0 / 376.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004645/0.1212, allocations: 87.81 kB / 376.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.1212, allocations: 7.875 kB / 376.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.1212, allocations: 12 kB / 376.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.1212, allocations: 8.156 kB / 376.8 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.1212, allocations: 3.938 kB / 376.8 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.1229, allocations: 0.7027 MB / 377.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.1231, allocations: 47.73 kB / 377.5 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.1231, allocations: 8 kB / 377.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.1235, allocations: 23.97 kB / 377.6 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.1235, allocations: 31.89 kB / 377.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.1236, allocations: 16 kB / 377.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.497e-05/0.1237, allocations: 95.69 kB / 377.7 MB, free: 440 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1237, allocations: 4 kB / 377.7 MB, free: 436 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.002717/0.1264, allocations: 0.9511 MB / 378.7 MB, free: 15.47 MB / 350.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.004298/0.1307, allocations: 1.382 MB / 380 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.1317, allocations: 334.3 kB / 380.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.1318, allocations: 4 kB / 380.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004793/0.1322, allocations: 168.3 kB / 380.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007523/0.133, allocations: 96.03 kB / 380.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.1344, allocations: 0.5367 MB / 381.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.1346, allocations: 128.8 kB / 381.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003641/0.1349, allocations: 93.81 kB / 381.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.1351, allocations: 40.48 kB / 381.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1351, allocations: 0 / 381.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of Templates: time 0.04631/0.1814, allocations: 29.6 MB / 411 MB, free: 15.11 MB / 382.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.169942686334252]