Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 180.9 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 252.5 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 51.91 kB / 371 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2277, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.0598/0.2875, allocations: 51.05 MB / 474.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006792/0.2943, allocations: 5.242 MB / 479.4 MB, free: 6.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.2945, allocations: 4 kB / 479.4 MB, free: 6.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007444/0.2952, allocations: 258.5 kB / 479.7 MB, free: 5.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006573/0.2959, allocations: 366 kB / 480 MB, free: 5.555 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01709/0.313, allocations: 7.186 MB / 487.2 MB, free: 14.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.3144, allocations: 1.111 MB / 488.3 MB, free: 13.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.3146, allocations: 98.72 kB / 488.4 MB, free: 13.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007167/0.3218, allocations: 3.611 MB / 492 MB, free: 9.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006535/0.3224, allocations: 434.5 kB / 492.5 MB, free: 9.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.3225, allocations: 60 kB / 492.5 MB, free: 9.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01904/0.3416, allocations: 10.15 MB / 0.4909 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003626/0.3419, allocations: 231.4 kB / 0.4911 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004757/0.3424, allocations: 306.8 kB / 0.4914 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.3542, allocations: 5.515 MB / 0.4968 GB, free: 8.848 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3542, allocations: 0 / 0.4968 GB, free: 8.848 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3542, allocations: 3.938 kB / 0.4968 GB, free: 8.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.3542, allocations: 0 / 0.4968 GB, free: 8.844 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.003279/0.3575, allocations: 1.323 MB / 0.4981 GB, free: 7.484 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3575, allocations: 8.031 kB / 0.4981 GB, free: 7.477 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003557/0.3579, allocations: 63.7 kB / 0.4982 GB, free: 7.414 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005569/0.3584, allocations: 317.1 kB / 0.4985 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.3585, allocations: 29 kB / 0.4985 GB, free: 7.051 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.867e-05/0.3585, allocations: 44 kB / 0.4985 GB, free: 7.008 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.36, allocations: 0.5959 MB / 0.4991 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.36, allocations: 0 / 0.4991 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.594e-05/0.36, allocations: 16 kB / 0.4991 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.36, allocations: 12 kB / 0.4991 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.3616, allocations: 0.7495 MB / 0.4999 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/0.3751, allocations: 4.165 MB / 0.5039 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.3765, allocations: 0.5002 MB / 0.5044 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004089/0.3769, allocations: 243.5 kB / 0.5047 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01109/0.3879, allocations: 2.561 MB / 0.5072 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.388, allocations: 39 kB / 0.5072 GB, free: 13.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.434e-06/0.388, allocations: 0 / 0.5072 GB, free: 13.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005945/0.3939, allocations: 1.909 MB / 0.5091 GB, free: 12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.394, allocations: 63.89 kB / 0.5091 GB, free: 11.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.3944, allocations: 316.2 kB / 0.5094 GB, free: 11.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.139e-05/0.3944, allocations: 41.7 kB / 0.5095 GB, free: 11.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.3946, allocations: 204.7 kB / 0.5097 GB, free: 11.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.3948, allocations: 202.2 kB / 0.5098 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.395, allocations: 118.3 kB / 0.51 GB, free: 11.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3952, allocations: 346.8 kB / 0.5103 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/0.3956, allocations: 233.2 kB / 0.5105 GB, free: 10.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007185/0.3963, allocations: 348.3 kB / 0.5108 GB, free: 10.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.3976, allocations: 0.5956 MB / 0.5114 GB, free: 9.469 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3976, allocations: 4 kB / 0.5114 GB, free: 9.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001935/0.3995, allocations: 0.7714 MB / 0.5122 GB, free: 8.676 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3995, allocations: 7.938 kB / 0.5122 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.3995, allocations: 4 kB / 0.5122 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004918/0.4, allocations: 98.52 kB / 0.5123 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005519/0.4006, allocations: 127.8 kB / 0.5124 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002864/0.4034, allocations: 3.27 MB / 0.5156 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.4037, allocations: 12 kB / 0.5156 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.208e-05/0.4038, allocations: 39.98 kB / 0.5157 GB, free: 4.859 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.0002935/0.4041, allocations: 197.1 kB / 0.5158 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/0.4044, allocations: 43.77 kB / 0.5159 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.4061, allocations: 0.8152 MB / 0.5167 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.4061, allocations: 8 kB / 0.5167 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.4061, allocations: 0 / 0.5167 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00125/0.4074, allocations: 0.7596 MB / 0.5174 GB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.4097, allocations: 1.281 MB / 0.5187 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4097, allocations: 0 / 0.5187 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/0.4102, allocations: 95.89 kB / 0.5188 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009637/0.4111, allocations: 156.6 kB / 0.5189 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/0.4112, allocations: 19.98 kB / 0.5189 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000488/0.4117, allocations: 0.6367 MB / 0.5196 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4117, allocations: 0 / 0.5196 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.4135, allocations: 0.9132 MB / 0.5204 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.652e-05/0.4136, allocations: 43.8 kB / 0.5205 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.893e-05/0.4137, allocations: 12 kB / 0.5205 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.4141, allocations: 19.98 kB / 0.5205 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/0.4142, allocations: 40.3 kB / 0.5206 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.556e-05/0.4143, allocations: 31.98 kB / 0.5206 GB, free: 15.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003133/0.4146, allocations: 255 kB / 0.5208 GB, free: 15.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4146, allocations: 0 / 0.5208 GB, free: 15.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003511/0.4181, allocations: 1.329 MB / 0.5221 GB, free: 14 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.005581/0.4237, allocations: 1.701 MB / 0.5238 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.4254, allocations: 0.7806 MB / 0.5246 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/0.4254, allocations: 8.062 kB / 0.5246 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005945/0.426, allocations: 275.2 kB / 0.5248 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.4276, allocations: 269.3 kB / 0.5251 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.4297, allocations: 1.121 MB / 0.5262 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.4302, allocations: 0.8326 MB / 0.527 GB, free: 8.922 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005743/0.4308, allocations: 152.2 kB / 0.5271 GB, free: 8.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.431, allocations: 55.42 kB / 0.5272 GB, free: 8.719 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.431, allocations: 0 / 0.5272 GB, free: 8.719 MB / 446.1 MB Notification: Performance of Templates: time 0.2234/0.6544, allocations: 45.41 MB / 0.5715 GB, free: 84.68 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.141929149627686]