Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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.001593/0.001593, allocations: 114 kB / 20.44 MB, free: 1.469 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.002301/0.002301, allocations: 214.1 kB / 23.74 MB, free: 4.695 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.557/1.557, allocations: 230.5 MB / 257.4 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2773/0.2773, allocations: 46.92 MB / 360.8 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002626/0.002626, allocations: 79.88 kB / 0.4962 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4023, allocations: 66.08 MB / 0.5607 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6959/1.098, allocations: 195 MB / 0.7512 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0101/1.108, allocations: 7.524 MB / 0.7585 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/1.11, allocations: 30.91 kB / 0.7586 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/1.111, allocations: 453.6 kB / 0.759 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007/1.118, allocations: 2.416 MB / 0.7613 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007098/1.125, allocations: 2.358 MB / 0.7636 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003822/1.129, allocations: 2.23 MB / 0.7658 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/1.13, allocations: 0.508 MB / 0.7663 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005644/1.136, allocations: 1.873 MB / 0.7682 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/1.138, allocations: 0.9238 MB / 0.7691 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004507/1.138, allocations: 93.69 kB / 0.7691 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01114/1.15, allocations: 5.469 MB / 0.7745 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001107/1.151, allocations: 442.6 kB / 0.7749 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001842/1.152, allocations: 0.5277 MB / 0.7754 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01224/1.165, allocations: 3.845 MB / 0.7792 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.165, allocations: 0 / 0.7792 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.054e-06/1.165, allocations: 1.422 kB / 0.7792 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.979e-05/1.165, allocations: 1 kB / 0.7792 GB, free: 1.176 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005537/1.17, allocations: 1.704 MB / 0.7808 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.17, allocations: 8.594 kB / 0.7808 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002787/1.171, allocations: 128.6 kB / 0.781 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000522/1.171, allocations: 112.7 kB / 0.7811 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/1.172, allocations: 0.5588 MB / 0.7816 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/1.173, allocations: 178 kB / 0.7818 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/1.173, allocations: 75.31 kB / 0.7819 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/1.175, allocations: 1.155 MB / 0.783 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/1.175, allocations: 3.188 kB / 0.783 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/1.175, allocations: 31.56 kB / 0.783 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-05/1.175, allocations: 62.11 kB / 0.7831 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002788/1.178, allocations: 1.161 MB / 0.7842 GB, free: 15.69 MB / 0.5762 GB 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.009652/1.188, allocations: 4.929 MB / 0.789 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/1.189, allocations: 0.7865 MB / 0.7898 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006039/1.19, allocations: 407.9 kB / 0.7902 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000645/1.191, allocations: 217.5 kB / 0.7904 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.845e-05/1.191, allocations: 42.72 kB / 0.7904 GB, free: 13 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.986e-06/1.191, allocations: 0 / 0.7904 GB, free: 13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01336/1.204, allocations: 3.945 MB / 0.7943 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.864e-05/1.204, allocations: 117.3 kB / 0.7944 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/1.205, allocations: 0.66 MB / 0.795 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001553/1.205, allocations: 43.61 kB / 0.7951 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000367/1.206, allocations: 390.1 kB / 0.7955 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/1.206, allocations: 307.4 kB / 0.7958 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004561/1.207, allocations: 196.9 kB / 0.7959 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0003815/1.207, allocations: 395.2 kB / 0.7963 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/1.208, allocations: 494.4 kB / 0.7968 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/1.21, allocations: 0.762 MB / 0.7975 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002585/1.212, allocations: 1.282 MB / 0.7988 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/1.212, allocations: 2.844 kB / 0.7988 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003668/1.216, allocations: 1.661 MB / 0.8004 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/1.216, allocations: 12.16 kB / 0.8004 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/1.216, allocations: 8.156 kB / 0.8004 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00736/1.223, allocations: 1.314 MB / 0.8017 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.224, allocations: 154.9 kB / 0.8019 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004349/1.229, allocations: 1.532 MB / 0.8034 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/1.23, allocations: 49.67 kB / 0.8034 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002769/1.23, allocations: 54.38 kB / 0.8035 GB, free: 9.172 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.001133/1.232, allocations: 303.8 kB / 0.8037 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005938/1.232, allocations: 90.36 kB / 0.8038 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005445/1.238, allocations: 1.673 MB / 0.8055 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/1.238, allocations: 14.92 kB / 0.8055 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.238, allocations: 0 / 0.8055 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/1.238, allocations: 7.984 kB / 0.8055 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00767/1.245, allocations: 2.532 MB / 0.808 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/1.245, allocations: 4 kB / 0.808 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001965/1.247, allocations: 259.3 kB / 0.8082 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002235/1.25, allocations: 373.7 kB / 0.8086 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/1.25, allocations: 37.7 kB / 0.8086 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003262/1.253, allocations: 2.245 MB / 0.8108 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.253, allocations: 7.219 kB / 0.8108 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004598/1.258, allocations: 2.037 MB / 0.8128 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007811/1.258, allocations: 219.3 kB / 0.813 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/1.259, allocations: 23.94 kB / 0.813 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/1.26, allocations: 56.03 kB / 0.8131 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002391/1.26, allocations: 68.81 kB / 0.8131 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/1.26, allocations: 43.97 kB / 0.8132 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001146/1.261, allocations: 0.4951 MB / 0.8137 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.261, allocations: 4 kB / 0.8137 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003226/1.265, allocations: 0.6935 MB / 0.8144 GB, free: 1.141 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007712/1.272, allocations: 3.297 MB / 0.8176 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003082/1.275, allocations: 1.187 MB / 0.8187 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.275, allocations: 0 / 0.8187 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001877/1.277, allocations: 0.6929 MB / 0.8194 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/1.28, allocations: 0.5142 MB / 0.8199 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02081/1.301, allocations: 9.691 MB / 0.8294 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009235/1.302, allocations: 1.043 MB / 0.8304 GB, free: 460 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00125/1.303, allocations: 373.4 kB / 0.8307 GB, free: 96 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006903/1.304, allocations: 333.4 kB / 0.8311 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of SimCode: time 7.32e-07/1.304, allocations: 0 / 0.8311 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/1.413, allocations: 44.99 MB / 0.875 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.26/16.67, allocations: 13.81 kB / 0.875 GB, free: 3.035 MB / 0.6387 GB " [Timeout remaining time 643] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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: 20.5282045758795]