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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 106.5 kB / 20.32 MB, free: 1.996 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 187.5 kB / 23.47 MB, free: 5.297 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 207.6 MB / 234.1 MB, free: 11.04 MB / 190.1 MB [Timeout remaining time 88] 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.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.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 51.92 kB / 345.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2753, allocations: 49.13 MB / 394.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07309/0.3484, allocations: 66.03 MB / 461 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007571/0.356, allocations: 5.465 MB / 466.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004604/0.3564, allocations: 4 kB / 466.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.3576, allocations: 365.9 kB / 466.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.3588, allocations: 0.5205 MB / 467.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02/0.3788, allocations: 7.097 MB / 474.4 MB, free: 4.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002192/0.381, allocations: 1.559 MB / 476 MB, free: 2.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003086/0.3813, allocations: 160.9 kB / 476.1 MB, free: 2.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.3823, allocations: 0.6308 MB / 476.8 MB, free: 1.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008539/0.3832, allocations: 0.6111 MB / 477.4 MB, free: 1.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.3833, allocations: 88 kB / 477.5 MB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02013/0.4034, allocations: 10.27 MB / 487.7 MB, free: 6.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000549/0.404, allocations: 327.2 kB / 488.1 MB, free: 6.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007161/0.4047, allocations: 438.4 kB / 488.5 MB, free: 6.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01519/0.4199, allocations: 5.927 MB / 494.4 MB, free: 200 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.4199, allocations: 8 kB / 494.4 MB, free: 192 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4199, allocations: 0 / 494.4 MB, free: 192 kB / 398.1 MB Notification: Performance of Transformations before backend: time 2.04e-05/0.4199, allocations: 0 / 494.4 MB, free: 192 kB / 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.004166/0.4241, allocations: 1.593 MB / 496 MB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.4241, allocations: 12.03 kB / 496 MB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004547/0.4246, allocations: 87.56 kB / 496.1 MB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007372/0.4253, allocations: 452.9 kB / 496.6 MB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/0.4254, allocations: 45.31 kB / 496.6 MB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.4255, allocations: 60 kB / 496.7 MB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.4274, allocations: 0.8146 MB / 497.5 MB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.4274, allocations: 0 / 497.5 MB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-05/0.4275, allocations: 28 kB / 497.5 MB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.4275, allocations: 12 kB / 497.5 MB, free: 13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.4295, allocations: 1.036 MB / 498.5 MB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01898/0.4485, allocations: 12.78 MB / 0.4993 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.4503, allocations: 0.7098 MB / 0.5 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006172/0.4509, allocations: 386.7 kB / 0.5004 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01627/0.4671, allocations: 12.25 MB / 0.5124 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/0.4672, allocations: 47.22 kB / 0.5124 GB, free: 13.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.156e-06/0.4672, allocations: 0 / 0.5124 GB, free: 13.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01024/0.4774, allocations: 3.393 MB / 0.5157 GB, free: 9.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.4775, allocations: 60.41 kB / 0.5158 GB, free: 9.695 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004627/0.478, allocations: 356.5 kB / 0.5161 GB, free: 9.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.955e-05/0.478, allocations: 41.7 kB / 0.5162 GB, free: 9.293 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.4782, allocations: 241.2 kB / 0.5164 GB, free: 9.055 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/0.4785, allocations: 333.2 kB / 0.5167 GB, free: 8.727 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002631/0.4788, allocations: 154.6 kB / 0.5169 GB, free: 8.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.4789, allocations: 358.8 kB / 0.5172 GB, free: 8.211 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006396/0.4796, allocations: 373.8 kB / 0.5176 GB, free: 7.844 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009894/0.4806, allocations: 0.4884 MB / 0.518 GB, free: 7.324 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/0.4824, allocations: 0.9021 MB / 0.5189 GB, free: 6.391 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4824, allocations: 0 / 0.5189 GB, free: 6.391 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002742/0.4851, allocations: 1.125 MB / 0.52 GB, free: 5.242 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.4852, allocations: 8 kB / 0.52 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.4852, allocations: 4 kB / 0.52 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008542/0.486, allocations: 171.4 kB / 0.5202 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007851/0.4868, allocations: 195.7 kB / 0.5204 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003346/0.4902, allocations: 4.109 MB / 0.5244 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004812/0.4906, allocations: 24.31 kB / 0.5244 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.4907, allocations: 43.98 kB / 0.5244 GB, free: 364 kB / 446.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.0004313/0.4912, allocations: 233.5 kB / 0.5247 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004145/0.4916, allocations: 67.66 kB / 0.5247 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/0.4942, allocations: 1.285 MB / 0.526 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.4942, allocations: 8 kB / 0.526 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.4942, allocations: 0 / 0.526 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002/0.4962, allocations: 1.312 MB / 0.5273 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003504/0.4997, allocations: 1.964 MB / 0.5292 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.4997, allocations: 8.062 kB / 0.5292 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007419/0.5004, allocations: 163.8 kB / 0.5294 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001833/0.5023, allocations: 293.2 kB / 0.5296 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.427e-05/0.5024, allocations: 27.98 kB / 0.5297 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009416/0.5033, allocations: 1.293 MB / 0.5309 GB, free: 9.418 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.5033, allocations: 3.938 kB / 0.5309 GB, free: 9.414 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/0.5061, allocations: 1.414 MB / 0.5323 GB, free: 7.973 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.5063, allocations: 132.8 kB / 0.5324 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-05/0.5064, allocations: 16 kB / 0.5325 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005597/0.507, allocations: 27.98 kB / 0.5325 GB, free: 7.781 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.5071, allocations: 60.86 kB / 0.5325 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.73e-05/0.5072, allocations: 47.91 kB / 0.5326 GB, free: 7.676 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000357/0.5075, allocations: 283 kB / 0.5329 GB, free: 7.402 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5075, allocations: 4 kB / 0.5329 GB, free: 7.398 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004087/0.5116, allocations: 1.411 MB / 0.5342 GB, free: 5.984 MB / 462.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.006106/0.5177, allocations: 1.76 MB / 0.536 GB, free: 4.215 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002521/0.5202, allocations: 1.117 MB / 0.537 GB, free: 3.066 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.5202, allocations: 0 / 0.537 GB, free: 3.066 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009818/0.5212, allocations: 475.2 kB / 0.5375 GB, free: 2.598 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.5231, allocations: 394.2 kB / 0.5379 GB, free: 2.207 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.5262, allocations: 1.732 MB / 0.5396 GB, free: 448 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006088/0.5268, allocations: 0.9128 MB / 0.5405 GB, free: 15.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.5271, allocations: 91.41 kB / 0.5405 GB, free: 15.41 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5271, allocations: 0 / 0.5405 GB, free: 15.41 MB / 478.1 MB Notification: Performance of Templates: time 0.2363/0.7634, allocations: 42.15 MB / 0.5817 GB, free: 142.1 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