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.001703/0.001703, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.001444/0.001444, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.483/1.483, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.001518/0.001518, allocations: 47.94 kB / 374.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09708/0.0986, allocations: 53.33 MB / 427.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2609/0.3595, allocations: 66.01 MB / 493.5 MB, free: 12.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00764/0.3671, allocations: 5.483 MB / 499 MB, free: 8.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004001/0.3675, allocations: 13.44 kB / 499 MB, free: 8.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.3686, allocations: 358.5 kB / 499.3 MB, free: 8.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.3696, allocations: 0.5155 MB / 499.9 MB, free: 7.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02231/0.3919, allocations: 7.471 MB / 0.4954 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002361/0.3943, allocations: 1.543 MB / 0.4969 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003653/0.3947, allocations: 164.9 kB / 0.4971 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.3959, allocations: 0.6385 MB / 0.4977 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009545/0.3968, allocations: 0.6073 MB / 0.4983 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.397, allocations: 84 kB / 0.4984 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02076/0.4177, allocations: 10.41 MB / 0.5086 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005294/0.4182, allocations: 327.2 kB / 0.5089 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007234/0.419, allocations: 438.4 kB / 0.5093 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01516/0.4341, allocations: 5.974 MB / 0.5151 GB, free: 12.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4341, allocations: 0 / 0.5151 GB, free: 12.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4341, allocations: 0 / 0.5151 GB, free: 12.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.4342, allocations: 4 kB / 0.5151 GB, free: 12.52 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.004157/0.4383, allocations: 1.612 MB / 0.5167 GB, free: 10.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4383, allocations: 8.031 kB / 0.5167 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004876/0.4388, allocations: 91.56 kB / 0.5168 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007072/0.4395, allocations: 445 kB / 0.5172 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.494e-05/0.4396, allocations: 45.31 kB / 0.5173 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.4397, allocations: 71.94 kB / 0.5173 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.4416, allocations: 0.8038 MB / 0.5181 GB, free: 9.352 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.4416, allocations: 11.94 kB / 0.5181 GB, free: 9.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.966e-05/0.4417, allocations: 24 kB / 0.5182 GB, free: 9.316 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.4417, allocations: 16 kB / 0.5182 GB, free: 9.301 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.4437, allocations: 1.024 MB / 0.5192 GB, free: 8.277 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01943/0.4631, allocations: 12.78 MB / 0.5317 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.465, allocations: 0.7061 MB / 0.5323 GB, free: 8.633 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006149/0.4656, allocations: 390.6 kB / 0.5327 GB, free: 8.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01734/0.483, allocations: 12.23 MB / 0.5447 GB, free: 9.641 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.733e-05/0.483, allocations: 43.59 kB / 0.5447 GB, free: 9.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.615e-06/0.4831, allocations: 3.938 kB / 0.5447 GB, free: 9.586 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.01072/0.4938, allocations: 3.377 MB / 0.548 GB, free: 6.133 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.4938, allocations: 60.41 kB / 0.5481 GB, free: 6.062 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004752/0.4943, allocations: 352.5 kB / 0.5484 GB, free: 5.711 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.905e-05/0.4944, allocations: 45.7 kB / 0.5484 GB, free: 5.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.4946, allocations: 245.2 kB / 0.5487 GB, free: 5.418 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000288/0.4949, allocations: 325.2 kB / 0.549 GB, free: 5.098 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.4952, allocations: 166.5 kB / 0.5491 GB, free: 4.926 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.4954, allocations: 358.8 kB / 0.5495 GB, free: 4.566 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006331/0.496, allocations: 369.8 kB / 0.5498 GB, free: 4.207 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.497, allocations: 496.2 kB / 0.5503 GB, free: 3.691 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.4989, allocations: 0.8981 MB / 0.5512 GB, free: 2.762 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.4989, allocations: 4 kB / 0.5512 GB, free: 2.758 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002846/0.5018, allocations: 1.117 MB / 0.5523 GB, free: 1.621 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.5018, allocations: 7.938 kB / 0.5523 GB, free: 1.613 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.5018, allocations: 4 kB / 0.5523 GB, free: 1.609 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009221/0.5027, allocations: 171.4 kB / 0.5525 GB, free: 1.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008021/0.5035, allocations: 191.8 kB / 0.5526 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003633/0.5072, allocations: 4.12 MB / 0.5567 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.5077, allocations: 20.28 kB / 0.5567 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.5078, allocations: 43.98 kB / 0.5567 GB, free: 12.73 MB / 478.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.0004457/0.5082, allocations: 229.6 kB / 0.5569 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004179/0.5086, allocations: 59.67 kB / 0.557 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002624/0.5113, allocations: 1.285 MB / 0.5583 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.5113, allocations: 12 kB / 0.5583 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.5113, allocations: 0 / 0.5583 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002057/0.5133, allocations: 1.312 MB / 0.5596 GB, free: 9.668 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003593/0.5169, allocations: 1.972 MB / 0.5615 GB, free: 7.629 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5169, allocations: 4.062 kB / 0.5615 GB, free: 7.625 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007382/0.5177, allocations: 159.8 kB / 0.5616 GB, free: 7.469 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001888/0.5196, allocations: 297.3 kB / 0.5619 GB, free: 7.172 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.855e-05/0.5197, allocations: 31.98 kB / 0.5619 GB, free: 7.141 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009472/0.5206, allocations: 1.285 MB / 0.5632 GB, free: 5.809 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.5206, allocations: 4.031 kB / 0.5632 GB, free: 5.805 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/0.5234, allocations: 1.426 MB / 0.5646 GB, free: 4.348 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.5236, allocations: 124.8 kB / 0.5647 GB, free: 4.207 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.971e-05/0.5237, allocations: 27.98 kB / 0.5647 GB, free: 4.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00055/0.5243, allocations: 27.98 kB / 0.5648 GB, free: 4.152 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.5244, allocations: 52.92 kB / 0.5648 GB, free: 4.102 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.5245, allocations: 39.97 kB / 0.5649 GB, free: 4.062 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003708/0.5248, allocations: 283 kB / 0.5651 GB, free: 3.789 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5248, allocations: 4 kB / 0.5651 GB, free: 3.785 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004526/0.5294, allocations: 1.43 MB / 0.5665 GB, free: 2.352 MB / 478.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.006534/0.5359, allocations: 1.737 MB / 0.5682 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002524/0.5384, allocations: 1.109 MB / 0.5693 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.5384, allocations: 0 / 0.5693 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009791/0.5394, allocations: 475.2 kB / 0.5698 GB, free: 14.99 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.5415, allocations: 393.7 kB / 0.5701 GB, free: 14.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/0.5446, allocations: 1.716 MB / 0.5718 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005729/0.5452, allocations: 0.9167 MB / 0.5727 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/0.5456, allocations: 91.41 kB / 0.5728 GB, free: 11.82 MB / 494.1 MB Notification: Performance of SimCode: time 1.402e-06/0.5456, allocations: 3.938 kB / 0.5728 GB, free: 11.82 MB / 494.1 MB Notification: Performance of Templates: time 0.06354/0.6091, allocations: 41.2 MB / 0.613 GB, free: 2.598 MB / 0.5137 GB " [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.617097910988377]