Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001827/0.001827, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001934/0.001934, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.493/1.493, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.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_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.241, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07314/0.3142, allocations: 58.98 MB / 491.3 MB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007168/0.3213, allocations: 4.967 MB / 496.3 MB, free: 6.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003102/0.3217, allocations: 7.938 kB / 496.3 MB, free: 6.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009721/0.3226, allocations: 334 kB / 496.6 MB, free: 6.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009576/0.3236, allocations: 0.5167 MB / 497.1 MB, free: 5.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01867/0.3423, allocations: 7.466 MB / 0.4928 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002114/0.3444, allocations: 1.567 MB / 0.4943 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.3447, allocations: 141.4 kB / 0.4944 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008988/0.3456, allocations: 0.6424 MB / 0.4951 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000797/0.3464, allocations: 0.5683 MB / 0.4956 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.3465, allocations: 80 kB / 0.4957 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01782/0.3643, allocations: 9.544 MB / 0.505 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005394/0.3649, allocations: 331.2 kB / 0.5053 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005812/0.3654, allocations: 382.7 kB / 0.5057 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01332/0.3788, allocations: 5.885 MB / 0.5115 GB, free: 11.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3788, allocations: 0 / 0.5115 GB, free: 11.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3788, allocations: 0 / 0.5115 GB, free: 11.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.3788, allocations: 4 kB / 0.5115 GB, free: 11.07 MB / 430.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.00384/0.3826, allocations: 1.528 MB / 0.513 GB, free: 9.508 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3827, allocations: 8.031 kB / 0.513 GB, free: 9.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004617/0.3831, allocations: 91.56 kB / 0.513 GB, free: 9.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007499/0.3839, allocations: 379.2 kB / 0.5134 GB, free: 9.016 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.3839, allocations: 49.25 kB / 0.5135 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.384, allocations: 67.95 kB / 0.5135 GB, free: 8.902 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.3861, allocations: 1.212 MB / 0.5147 GB, free: 7.582 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.3861, allocations: 7.984 kB / 0.5147 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.328e-05/0.3862, allocations: 31.94 kB / 0.5147 GB, free: 7.543 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.3862, allocations: 16 kB / 0.5148 GB, free: 7.527 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.3881, allocations: 1.02 MB / 0.5158 GB, free: 6.508 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01333/0.4014, allocations: 4.05 MB / 0.5197 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.4032, allocations: 0.7079 MB / 0.5204 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005955/0.4038, allocations: 383.9 kB / 0.5208 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01055/0.4143, allocations: 2.616 MB / 0.5233 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.953e-05/0.4144, allocations: 43.22 kB / 0.5234 GB, free: 14.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.855e-06/0.4144, allocations: 0 / 0.5234 GB, free: 14.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009537/0.4239, allocations: 3.154 MB / 0.5264 GB, free: 11.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.424, allocations: 68.41 kB / 0.5265 GB, free: 11.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.4244, allocations: 297.8 kB / 0.5268 GB, free: 11.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.972e-05/0.4245, allocations: 49.64 kB / 0.5268 GB, free: 11.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.4246, allocations: 249 kB / 0.5271 GB, free: 10.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.4249, allocations: 317.2 kB / 0.5274 GB, free: 10.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/0.4251, allocations: 162.6 kB / 0.5275 GB, free: 10.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4253, allocations: 358.8 kB / 0.5279 GB, free: 9.949 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005887/0.4259, allocations: 369.8 kB / 0.5282 GB, free: 9.586 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009283/0.4268, allocations: 492.2 kB / 0.5287 GB, free: 9.074 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.4286, allocations: 0.9098 MB / 0.5296 GB, free: 8.133 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4286, allocations: 0 / 0.5296 GB, free: 8.133 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002566/0.4312, allocations: 1.114 MB / 0.5307 GB, free: 6.996 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.4312, allocations: 11.94 kB / 0.5307 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.4312, allocations: 0 / 0.5307 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008011/0.432, allocations: 171.3 kB / 0.5308 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000747/0.4328, allocations: 187.7 kB / 0.531 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003117/0.4359, allocations: 3.853 MB / 0.5348 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004648/0.4363, allocations: 32.03 kB / 0.5348 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.4364, allocations: 51.91 kB / 0.5349 GB, free: 2.438 MB / 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.000403/0.4368, allocations: 221.6 kB / 0.5351 GB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003971/0.4372, allocations: 59.7 kB / 0.5351 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.4397, allocations: 1.272 MB / 0.5364 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.4397, allocations: 11.98 kB / 0.5364 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4397, allocations: 11.94 kB / 0.5364 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1971/0.6368, allocations: 1.309 MB / 0.5377 GB, free: 107 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003206/0.64, allocations: 1.724 MB / 0.5394 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.64, allocations: 1.531 kB / 0.5394 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006926/0.6407, allocations: 159.7 kB / 0.5395 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001721/0.6425, allocations: 299.6 kB / 0.5398 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.984e-05/0.6425, allocations: 35.09 kB / 0.5398 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005585/0.6431, allocations: 1.287 MB / 0.5411 GB, free: 105.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.6431, allocations: 0 / 0.5411 GB, free: 105.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/0.6456, allocations: 1.415 MB / 0.5425 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.6457, allocations: 44.95 kB / 0.5425 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.362e-05/0.6458, allocations: 32.12 kB / 0.5425 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005148/0.6463, allocations: 31.66 kB / 0.5426 GB, free: 104.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.6464, allocations: 54.28 kB / 0.5426 GB, free: 104.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.889e-05/0.6465, allocations: 44.2 kB / 0.5427 GB, free: 104.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002461/0.6468, allocations: 241.1 kB / 0.5429 GB, free: 104.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6468, allocations: 0 / 0.5429 GB, free: 104.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003378/0.6501, allocations: 1.431 MB / 0.5443 GB, free: 104.2 MB / 446.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.005114/0.6552, allocations: 1.727 MB / 0.546 GB, free: 104 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00204/0.6573, allocations: 1.102 MB / 0.5471 GB, free: 103.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.6573, allocations: 6.938 kB / 0.5471 GB, free: 103.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007972/0.6581, allocations: 483.2 kB / 0.5475 GB, free: 103.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.6597, allocations: 338 kB / 0.5479 GB, free: 103.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.662, allocations: 1.725 MB / 0.5495 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.6623, allocations: 308.5 kB / 0.5498 GB, free: 102.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.6625, allocations: 98.73 kB / 0.5499 GB, free: 102 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6625, allocations: 0 / 0.5499 GB, free: 102 MB / 446.1 MB Notification: Performance of Templates: time 0.04124/0.7038, allocations: 40.86 MB / 0.5898 GB, free: 61.84 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.584207200910896]