Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 113.4 kB / 21.93 MB, free: 5.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 209.5 kB / 25.22 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 207.7 MB / 236.1 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 57.8 kB / 348.5 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2778, allocations: 49.16 MB / 397.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.0738/0.3516, allocations: 59.01 MB / 456.6 MB, free: 8.035 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008044/0.3597, allocations: 4.963 MB / 461.6 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004036/0.3601, allocations: 15.94 kB / 461.6 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.3612, allocations: 334 kB / 461.9 MB, free: 2.715 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.3622, allocations: 0.5167 MB / 462.4 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02081/0.3831, allocations: 7.118 MB / 469.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002193/0.3852, allocations: 1.559 MB / 471.1 MB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.3856, allocations: 149.4 kB / 471.3 MB, free: 9.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.3868, allocations: 0.6425 MB / 471.9 MB, free: 8.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.3878, allocations: 0.5721 MB / 472.5 MB, free: 8.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.388, allocations: 84 kB / 472.6 MB, free: 8.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02018/0.4081, allocations: 9.408 MB / 482 MB, free: 14.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005899/0.4087, allocations: 327.2 kB / 482.3 MB, free: 14.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006474/0.4094, allocations: 382.7 kB / 482.7 MB, free: 13.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01635/0.4257, allocations: 5.842 MB / 488.5 MB, free: 8.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.4257, allocations: 0 / 488.5 MB, free: 8.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4257, allocations: 0 / 488.5 MB, free: 8.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.4258, allocations: 0 / 488.5 MB, free: 8.066 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004044/0.4298, allocations: 1.514 MB / 490 MB, free: 6.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4298, allocations: 11.98 kB / 490 MB, free: 6.504 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004613/0.4303, allocations: 87.56 kB / 490.1 MB, free: 6.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007519/0.4311, allocations: 395.1 kB / 490.5 MB, free: 6.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.4311, allocations: 49.31 kB / 490.5 MB, free: 5.957 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.4312, allocations: 60 kB / 490.6 MB, free: 5.898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.4332, allocations: 1.216 MB / 491.8 MB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.4332, allocations: 4 kB / 491.8 MB, free: 4.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.6e-05/0.4333, allocations: 31.94 kB / 491.9 MB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.4333, allocations: 12 kB / 491.9 MB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.4353, allocations: 1.024 MB / 492.9 MB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.4491, allocations: 4.058 MB / 496.9 MB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.4509, allocations: 0.7069 MB / 497.7 MB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006106/0.4515, allocations: 391 kB / 498 MB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01066/0.4622, allocations: 2.619 MB / 0.4889 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.597e-05/0.4623, allocations: 47.22 kB / 0.489 GB, free: 11.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.875e-06/0.4623, allocations: 0 / 0.489 GB, free: 11.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.01007/0.4723, allocations: 3.175 MB / 0.4921 GB, free: 8.426 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.4724, allocations: 60.41 kB / 0.4921 GB, free: 8.355 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000393/0.4728, allocations: 297.8 kB / 0.4924 GB, free: 8.051 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.921e-05/0.4729, allocations: 49.7 kB / 0.4925 GB, free: 7.996 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.4731, allocations: 245.1 kB / 0.4927 GB, free: 7.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/0.4734, allocations: 321.2 kB / 0.493 GB, free: 7.434 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/0.4736, allocations: 162.6 kB / 0.4932 GB, free: 7.266 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.4738, allocations: 358.8 kB / 0.4935 GB, free: 6.906 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006199/0.4745, allocations: 365.8 kB / 0.4938 GB, free: 6.551 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009927/0.4755, allocations: 0.4884 MB / 0.4943 GB, free: 6.031 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/0.4773, allocations: 0.9021 MB / 0.4952 GB, free: 5.098 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4773, allocations: 4 kB / 0.4952 GB, free: 5.094 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002699/0.48, allocations: 1.11 MB / 0.4963 GB, free: 3.965 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.48, allocations: 11.94 kB / 0.4963 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.48, allocations: 4 kB / 0.4963 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008685/0.4809, allocations: 163.5 kB / 0.4965 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007671/0.4817, allocations: 195.8 kB / 0.4966 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003347/0.485, allocations: 3.86 MB / 0.5004 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/0.4856, allocations: 23.97 kB / 0.5004 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.4857, allocations: 47.92 kB / 0.5005 GB, free: 15.4 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {2, 2} * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004322/0.4861, allocations: 221.6 kB / 0.5007 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004128/0.4865, allocations: 55.72 kB / 0.5008 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/0.4891, allocations: 1.276 MB / 0.502 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.4891, allocations: 15.88 kB / 0.502 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.4891, allocations: 7.938 kB / 0.502 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002003/0.4911, allocations: 1.32 MB / 0.5033 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/0.4944, allocations: 1.714 MB / 0.505 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.4944, allocations: 4 kB / 0.505 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007076/0.4951, allocations: 163.8 kB / 0.5051 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001752/0.4969, allocations: 305.3 kB / 0.5054 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.537e-05/0.4969, allocations: 27.98 kB / 0.5055 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009603/0.4979, allocations: 1.289 MB / 0.5067 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.4979, allocations: 7.922 kB / 0.5067 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002717/0.5006, allocations: 1.41 MB / 0.5081 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.5008, allocations: 47.77 kB / 0.5081 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.766e-05/0.5009, allocations: 23.94 kB / 0.5082 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000535/0.5014, allocations: 36.16 kB / 0.5082 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.5015, allocations: 56.89 kB / 0.5083 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.172e-05/0.5016, allocations: 47.91 kB / 0.5083 GB, free: 7.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002981/0.5019, allocations: 239 kB / 0.5085 GB, free: 6.852 MB / 430.1 MB Notification: Performance of sort global known variables: time 5e-08/0.5019, allocations: 0 / 0.5085 GB, free: 6.852 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004123/0.506, allocations: 1.411 MB / 0.5099 GB, free: 5.438 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005961/0.512, allocations: 1.76 MB / 0.5116 GB, free: 3.664 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00251/0.5145, allocations: 1.105 MB / 0.5127 GB, free: 2.527 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.728e-05/0.5145, allocations: 4 kB / 0.5127 GB, free: 2.523 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009603/0.5155, allocations: 471.9 kB / 0.5132 GB, free: 2.062 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.5173, allocations: 329.6 kB / 0.5135 GB, free: 1.734 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.5205, allocations: 1.726 MB / 0.5152 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.5208, allocations: 313.8 kB / 0.5155 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.5211, allocations: 87.41 kB / 0.5155 GB, free: 15.55 MB / 446.1 MB Notification: Performance of SimCode: time 1.593e-06/0.5211, allocations: 0 / 0.5155 GB, free: 15.55 MB / 446.1 MB Notification: Performance of Templates: time 0.06525/0.5864, allocations: 41.81 MB / 0.5564 GB, free: 5.633 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.789587611332536]