Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.00199/0.00199, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002479/0.002479, allocations: 215.4 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 47.92 kB / 378.2 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2286, allocations: 53.37 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05733/0.2859, allocations: 45.52 MB / 477.1 MB, free: 9.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006522/0.2925, allocations: 4.697 MB / 481.8 MB, free: 4.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.2927, allocations: 7.938 kB / 481.8 MB, free: 4.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007983/0.2935, allocations: 242.6 kB / 482 MB, free: 4.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006669/0.2941, allocations: 373.9 kB / 482.4 MB, free: 3.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01762/0.3118, allocations: 7.13 MB / 489.5 MB, free: 12.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.3132, allocations: 1.107 MB / 490.6 MB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.3134, allocations: 93.84 kB / 490.7 MB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006725/0.3202, allocations: 3.595 MB / 494.3 MB, free: 7.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006681/0.3208, allocations: 414.5 kB / 494.7 MB, free: 7.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.3209, allocations: 56 kB / 494.8 MB, free: 7.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01781/0.3387, allocations: 9.318 MB / 0.4923 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003526/0.3391, allocations: 239.4 kB / 0.4925 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004134/0.3395, allocations: 267.1 kB / 0.4928 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01273/0.3522, allocations: 5.444 MB / 0.4981 GB, free: 8.062 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3523, allocations: 3.938 kB / 0.4981 GB, free: 8.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3523, allocations: 7.938 kB / 0.4981 GB, free: 8.051 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.3523, allocations: 0 / 0.4981 GB, free: 8.051 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003332/0.3556, allocations: 1.319 MB / 0.4994 GB, free: 6.695 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3556, allocations: 11.97 kB / 0.4994 GB, free: 6.684 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003446/0.356, allocations: 67.7 kB / 0.4995 GB, free: 6.617 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/0.3565, allocations: 296.4 kB / 0.4998 GB, free: 6.301 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.3566, allocations: 33 kB / 0.4998 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.241e-05/0.3567, allocations: 40 kB / 0.4998 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.3582, allocations: 0.905 MB / 0.5007 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.3582, allocations: 0 / 0.5007 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-05/0.3582, allocations: 20 kB / 0.5007 GB, free: 5.227 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.3583, allocations: 12 kB / 0.5007 GB, free: 5.215 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.3597, allocations: 0.7378 MB / 0.5015 GB, free: 4.473 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01262/0.3723, allocations: 3.577 MB / 0.505 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.3736, allocations: 0.5089 MB / 0.5054 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.374, allocations: 242 kB / 0.5057 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/0.3848, allocations: 2.553 MB / 0.5082 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.3848, allocations: 39 kB / 0.5082 GB, free: 13.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.254e-06/0.3848, allocations: 0 / 0.5082 GB, free: 13.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005709/0.3906, allocations: 1.893 MB / 0.5101 GB, free: 11.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.3906, allocations: 59.91 kB / 0.5101 GB, free: 11.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.3909, allocations: 268.8 kB / 0.5104 GB, free: 11.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.39e-05/0.391, allocations: 37.7 kB / 0.5104 GB, free: 11.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.3911, allocations: 217.2 kB / 0.5106 GB, free: 10.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.3913, allocations: 202.2 kB / 0.5108 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.3915, allocations: 114.3 kB / 0.5109 GB, free: 10.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3916, allocations: 338.8 kB / 0.5112 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004222/0.392, allocations: 245.2 kB / 0.5115 GB, free: 10.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006848/0.3927, allocations: 340.3 kB / 0.5118 GB, free: 9.707 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.394, allocations: 0.6072 MB / 0.5124 GB, free: 9.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.394, allocations: 0 / 0.5124 GB, free: 9.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001885/0.3958, allocations: 0.748 MB / 0.5131 GB, free: 8.305 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3959, allocations: 4.281 kB / 0.5131 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3959, allocations: 8 kB / 0.5131 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004817/0.3964, allocations: 114.4 kB / 0.5132 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/0.3969, allocations: 119.8 kB / 0.5134 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003009/0.3999, allocations: 3.228 MB / 0.5165 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.4001, allocations: 12 kB / 0.5165 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.391e-05/0.4002, allocations: 31.98 kB / 0.5166 GB, free: 4.555 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0002648/0.4005, allocations: 189.7 kB / 0.5167 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/0.4008, allocations: 47.95 kB / 0.5168 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.4025, allocations: 0.819 MB / 0.5176 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.4025, allocations: 4 kB / 0.5176 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.4025, allocations: 0 / 0.5176 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/0.4037, allocations: 0.7596 MB / 0.5183 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.4058, allocations: 1.125 MB / 0.5194 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4058, allocations: 4 kB / 0.5194 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004643/0.4062, allocations: 95.89 kB / 0.5195 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009576/0.4072, allocations: 156.7 kB / 0.5197 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.436e-05/0.4073, allocations: 19.98 kB / 0.5197 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004814/0.4077, allocations: 0.6484 MB / 0.5203 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4077, allocations: 0 / 0.5203 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.4095, allocations: 0.9015 MB / 0.5212 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.112e-05/0.4096, allocations: 31.84 kB / 0.5212 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.4096, allocations: 19.88 kB / 0.5212 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.41, allocations: 19.98 kB / 0.5213 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.4101, allocations: 40.31 kB / 0.5213 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.379e-05/0.4101, allocations: 27.97 kB / 0.5213 GB, free: 15.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002455/0.4104, allocations: 216.4 kB / 0.5215 GB, free: 15.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4104, allocations: 0 / 0.5215 GB, free: 15.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003391/0.4138, allocations: 1.341 MB / 0.5228 GB, free: 13.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004869/0.4186, allocations: 1.686 MB / 0.5245 GB, free: 12.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001529/0.4202, allocations: 0.7803 MB / 0.5253 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4202, allocations: 0 / 0.5253 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005678/0.4207, allocations: 275.2 kB / 0.5255 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.4219, allocations: 229.5 kB / 0.5257 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.4239, allocations: 1.108 MB / 0.5268 GB, free: 9.742 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.4242, allocations: 233.4 kB / 0.527 GB, free: 9.496 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004736/0.4246, allocations: 131.2 kB / 0.5272 GB, free: 9.363 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.4248, allocations: 55.42 kB / 0.5272 GB, free: 9.309 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4248, allocations: 0 / 0.5272 GB, free: 9.309 MB / 446.1 MB Notification: Performance of Templates: time 0.2305/0.6553, allocations: 44.94 MB / 0.5711 GB, free: 79.42 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 13.435096448287368]