Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001567/0.001567, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001557/0.001557, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.524/1.524, allocations: 230.2 MB / 257.8 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2334/0.2334, allocations: 46.89 MB / 361.1 MB, free: 4.664 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.1.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.1.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 83.86 kB / 0.4968 GB, free: 8.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4182, allocations: 65.97 MB / 0.5612 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2531/0.6713, allocations: 195 MB / 0.7516 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4414/1.113, allocations: 7.513 MB / 0.759 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009615/1.114, allocations: 24.44 kB / 0.759 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/1.115, allocations: 454.6 kB / 0.7594 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007287/1.122, allocations: 2.388 MB / 0.7617 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007584/1.13, allocations: 2.318 MB / 0.764 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003934/1.134, allocations: 2.213 MB / 0.7662 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/1.135, allocations: 0.5088 MB / 0.7667 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005274/1.14, allocations: 1.856 MB / 0.7685 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/1.143, allocations: 0.9171 MB / 0.7694 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002764/1.143, allocations: 98.41 kB / 0.7695 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01544/1.158, allocations: 5.397 MB / 0.7747 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001999/1.16, allocations: 439.1 kB / 0.7752 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001875/1.162, allocations: 0.5335 MB / 0.7757 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01571/1.178, allocations: 3.848 MB / 0.7794 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.178, allocations: 1.359 kB / 0.7794 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.904e-06/1.178, allocations: 0.75 kB / 0.7794 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.291e-05/1.178, allocations: 0 / 0.7794 GB, free: 1.441 MB / 0.5762 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.007278/1.185, allocations: 1.784 MB / 0.7812 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/1.185, allocations: 8.844 kB / 0.7812 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007414/1.186, allocations: 113.1 kB / 0.7813 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/1.188, allocations: 0.6238 MB / 0.7819 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/1.188, allocations: 122 kB / 0.782 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/1.188, allocations: 70.77 kB / 0.7821 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/1.191, allocations: 1.167 MB / 0.7832 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/1.191, allocations: 4.828 kB / 0.7832 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/1.191, allocations: 33.33 kB / 0.7833 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.971e-05/1.191, allocations: 54.69 kB / 0.7833 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/1.193, allocations: 1.166 MB / 0.7845 GB, free: 15.91 MB / 0.5919 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.007593/1.2, allocations: 4.987 MB / 0.7893 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/1.202, allocations: 0.7851 MB / 0.7901 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00058/1.203, allocations: 405.3 kB / 0.7905 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001718/1.205, allocations: 1.628 MB / 0.7921 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.791e-05/1.205, allocations: 45.44 kB / 0.7921 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.865e-06/1.205, allocations: 4.031 kB / 0.7921 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.0134/1.218, allocations: 4.01 MB / 0.796 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.65e-05/1.218, allocations: 112.6 kB / 0.7961 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/1.219, allocations: 0.6666 MB / 0.7968 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001461/1.219, allocations: 42.27 kB / 0.7968 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/1.22, allocations: 388 kB / 0.7972 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/1.22, allocations: 306.8 kB / 0.7975 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003414/1.22, allocations: 197.3 kB / 0.7977 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002125/1.22, allocations: 392.5 kB / 0.7981 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009335/1.221, allocations: 494.7 kB / 0.7985 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/1.223, allocations: 0.7547 MB / 0.7993 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/1.225, allocations: 1.283 MB / 0.8005 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.225, allocations: 6.25 kB / 0.8005 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003244/1.228, allocations: 1.66 MB / 0.8021 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.228, allocations: 6.875 kB / 0.8022 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.228, allocations: 8.938 kB / 0.8022 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007132/1.235, allocations: 1.318 MB / 0.8034 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007779/1.236, allocations: 159.1 kB / 0.8036 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/1.239, allocations: 1.527 MB / 0.8051 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/1.24, allocations: 53.27 kB / 0.8051 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/1.24, allocations: 58.88 kB / 0.8052 GB, free: 8.637 MB / 0.5919 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.0007686/1.241, allocations: 294.1 kB / 0.8055 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004288/1.241, allocations: 86.86 kB / 0.8056 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003551/1.245, allocations: 1.671 MB / 0.8072 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/1.245, allocations: 8.938 kB / 0.8072 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/1.245, allocations: 0.8438 kB / 0.8072 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/1.245, allocations: 7.969 kB / 0.8072 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005253/1.25, allocations: 2.635 MB / 0.8098 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/1.25, allocations: 1.656 kB / 0.8098 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/1.252, allocations: 261.7 kB / 0.81 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/1.253, allocations: 379 kB / 0.8104 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/1.254, allocations: 33.34 kB / 0.8104 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003296/1.257, allocations: 2.35 MB / 0.8127 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.257, allocations: 2.5 kB / 0.8127 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004306/1.261, allocations: 2.032 MB / 0.8147 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009033/1.262, allocations: 292.3 kB / 0.815 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003411/1.262, allocations: 21.31 kB / 0.815 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/1.264, allocations: 58.25 kB / 0.8151 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/1.264, allocations: 63.17 kB / 0.8151 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/1.264, allocations: 44.5 kB / 0.8152 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009073/1.265, allocations: 0.5009 MB / 0.8157 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.265, allocations: 0 / 0.8157 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003489/1.268, allocations: 0.6937 MB / 0.8163 GB, free: 4.07 MB / 0.5919 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.003608/1.272, allocations: 0.8273 MB / 0.8171 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003036/1.275, allocations: 1.18 MB / 0.8183 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/1.275, allocations: 3.969 kB / 0.8183 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0018/1.277, allocations: 0.6958 MB / 0.819 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002933/1.28, allocations: 0.522 MB / 0.8195 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005376/1.285, allocations: 2.189 MB / 0.8216 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008583/1.286, allocations: 1.043 MB / 0.8226 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001279/1.287, allocations: 367.6 kB / 0.823 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/1.287, allocations: 99.84 kB / 0.8231 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of SimCode: time 8.41e-07/1.287, allocations: 0 / 0.8231 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of Templates: time 0.06485/1.352, allocations: 35.62 MB / 0.8579 GB, free: 14.88 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.075779833365232]