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.00169/0.00169, allocations: 109.1 kB / 21.85 MB, free: 60 kB / 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.001966/0.001966, allocations: 216.3 kB / 25.13 MB, free: 3.582 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.461/1.461, allocations: 230.4 MB / 258.7 MB, free: 8.043 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.226/0.226, allocations: 46.93 MB / 362 MB, free: 4.23 MB / 286.1 MB " [Timeout remaining time 180] 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.002374/0.002374, allocations: 75.88 kB / 0.4978 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.3002, allocations: 66.08 MB / 0.5623 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.549/0.8492, allocations: 192.5 MB / 0.7503 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008119/0.8573, allocations: 7.454 MB / 0.7576 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007236/0.858, allocations: 29.94 kB / 0.7576 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.859, allocations: 455.1 kB / 0.7581 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006006/0.865, allocations: 2.417 MB / 0.7604 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005473/0.8705, allocations: 2.366 MB / 0.7627 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002549/0.873, allocations: 2.229 MB / 0.7649 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007559/0.8738, allocations: 0.5144 MB / 0.7654 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003819/0.8776, allocations: 1.87 MB / 0.7672 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.8793, allocations: 0.9267 MB / 0.7681 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002415/0.8795, allocations: 92.12 kB / 0.7682 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00824/0.8877, allocations: 4.405 MB / 0.7725 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008529/0.8886, allocations: 434.6 kB / 0.7729 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009511/0.8896, allocations: 0.5364 MB / 0.7735 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007621/0.8972, allocations: 3.678 MB / 0.7771 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8972, allocations: 4.719 kB / 0.7771 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.582e-06/0.8972, allocations: 0 / 0.7771 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.121e-05/0.8972, allocations: 0 / 0.7771 GB, free: 1.137 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.003644/0.9008, allocations: 1.698 MB / 0.7787 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.9009, allocations: 9.375 kB / 0.7787 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003994/0.9013, allocations: 109.9 kB / 0.7788 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008859/0.9022, allocations: 0.5592 MB / 0.7794 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.9023, allocations: 172.3 kB / 0.7795 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.9024, allocations: 70.19 kB / 0.7796 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.9041, allocations: 1.565 MB / 0.7811 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.9042, allocations: 5.969 kB / 0.7811 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.425e-05/0.9043, allocations: 32.28 kB / 0.7812 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.257e-05/0.9043, allocations: 58.66 kB / 0.7812 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.9059, allocations: 1.168 MB / 0.7824 GB, free: 15.19 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.006036/0.9119, allocations: 4.911 MB / 0.7872 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.9134, allocations: 0.7978 MB / 0.7879 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000551/0.914, allocations: 406 kB / 0.7883 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005828/0.9146, allocations: 213.7 kB / 0.7885 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.9146, allocations: 44.25 kB / 0.7886 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 3.176e-06/0.9146, allocations: 1.875 kB / 0.7886 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.0126/0.9272, allocations: 3.944 MB / 0.7924 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/0.9273, allocations: 117.4 kB / 0.7925 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007977/0.9281, allocations: 0.6634 MB / 0.7932 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.804e-05/0.9282, allocations: 43.86 kB / 0.7932 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.9285, allocations: 395.4 kB / 0.7936 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.9287, allocations: 306.6 kB / 0.7939 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/0.929, allocations: 197.1 kB / 0.7941 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.9292, allocations: 395.9 kB / 0.7945 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009348/0.9302, allocations: 494.2 kB / 0.7949 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.9313, allocations: 0.8049 MB / 0.7957 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002011/0.9333, allocations: 1.284 MB / 0.797 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.9333, allocations: 3.531 kB / 0.797 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003236/0.9366, allocations: 1.653 MB / 0.7986 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.9366, allocations: 13.03 kB / 0.7986 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.9366, allocations: 11.47 kB / 0.7986 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00675/0.9434, allocations: 1.305 MB / 0.7999 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/0.944, allocations: 156 kB / 0.8 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.9467, allocations: 1.533 MB / 0.8015 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009205/0.9476, allocations: 48.83 kB / 0.8016 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.9477, allocations: 56.72 kB / 0.8016 GB, free: 9.363 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.0005413/0.9483, allocations: 304.5 kB / 0.8019 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.9485, allocations: 92.94 kB / 0.802 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003227/0.9517, allocations: 1.674 MB / 0.8037 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.9517, allocations: 7.406 kB / 0.8037 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.9517, allocations: 6.594 kB / 0.8037 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.9517, allocations: 3.984 kB / 0.8037 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00424/0.956, allocations: 2.526 MB / 0.8061 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.956, allocations: 2.562 kB / 0.8061 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.9573, allocations: 257.7 kB / 0.8064 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001681/0.9589, allocations: 377 kB / 0.8067 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.9591, allocations: 36.47 kB / 0.8068 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002798/0.9619, allocations: 2.257 MB / 0.809 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.9619, allocations: 2.531 kB / 0.809 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004229/0.9661, allocations: 2.036 MB / 0.811 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000628/0.9667, allocations: 223.3 kB / 0.8112 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.9669, allocations: 24 kB / 0.8112 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007546/0.9676, allocations: 51.95 kB / 0.8113 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.9678, allocations: 71.91 kB / 0.8113 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.9679, allocations: 45.39 kB / 0.8114 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007644/0.9687, allocations: 0.499 MB / 0.8119 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9687, allocations: 0 / 0.8119 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002223/0.9709, allocations: 0.6935 MB / 0.8125 GB, free: 1.902 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.001866/0.9728, allocations: 0.8003 MB / 0.8133 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002784/0.9755, allocations: 1.191 MB / 0.8145 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.9756, allocations: 0 / 0.8145 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.9773, allocations: 0.6923 MB / 0.8152 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.9796, allocations: 0.5166 MB / 0.8157 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.9841, allocations: 2.19 MB / 0.8178 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007317/0.9848, allocations: 1.05 MB / 0.8188 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001039/0.9859, allocations: 365.8 kB / 0.8192 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.9861, allocations: 92.5 kB / 0.8193 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of SimCode: time 9.61e-07/0.9861, allocations: 0 / 0.8193 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of Templates: time 0.05587/1.042, allocations: 35.9 MB / 0.8543 GB, free: 7.445 MB / 0.6231 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 gbode -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/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_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: 7.157731054117903]