Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.006918/0.006918, allocations: 108.3 kB / 21.97 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001735/0.001735, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 259 MB, free: 8.039 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 63.89 kB / 379.8 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2733, allocations: 53.36 MB / 433.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06313/0.3365, allocations: 51.17 MB / 484.3 MB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007275/0.3437, allocations: 5.246 MB / 489.6 MB, free: 14.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002841/0.344, allocations: 4 kB / 489.6 MB, free: 14.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008882/0.3449, allocations: 258.5 kB / 489.8 MB, free: 14.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007952/0.3457, allocations: 381.9 kB / 490.2 MB, free: 13.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01889/0.3646, allocations: 7.202 MB / 497.4 MB, free: 6.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.3662, allocations: 1.107 MB / 498.5 MB, free: 5.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.3665, allocations: 102.7 kB / 498.6 MB, free: 5.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007239/0.3737, allocations: 3.603 MB / 0.4905 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007642/0.3745, allocations: 434.5 kB / 0.4909 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.3746, allocations: 56 kB / 0.4909 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02019/0.3948, allocations: 10.18 MB / 0.5009 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004071/0.3952, allocations: 235.4 kB / 0.5011 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005205/0.3957, allocations: 306.9 kB / 0.5014 GB, free: 6.523 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01435/0.4101, allocations: 5.534 MB / 0.5068 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.4101, allocations: 4 kB / 0.5068 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4101, allocations: 0 / 0.5068 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.4101, allocations: 0 / 0.5068 GB, free: 0.9727 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.003939/0.414, allocations: 1.327 MB / 0.5081 GB, free: 15.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4141, allocations: 12.02 kB / 0.5081 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003961/0.4145, allocations: 63.67 kB / 0.5082 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000583/0.4151, allocations: 305.2 kB / 0.5085 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.4151, allocations: 33 kB / 0.5085 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.9e-05/0.4152, allocations: 44 kB / 0.5085 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.4165, allocations: 0.5843 MB / 0.5091 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.4166, allocations: 7.938 kB / 0.5091 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.71e-05/0.4166, allocations: 20 kB / 0.5091 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.4166, allocations: 12 kB / 0.5091 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.4181, allocations: 0.7534 MB / 0.5099 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/0.4315, allocations: 4.169 MB / 0.5139 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.4329, allocations: 0.5047 MB / 0.5144 GB, free: 8.926 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004334/0.4333, allocations: 248.1 kB / 0.5147 GB, free: 8.684 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/0.444, allocations: 2.545 MB / 0.5172 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.228e-05/0.444, allocations: 42.98 kB / 0.5172 GB, free: 6.086 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.264e-06/0.444, allocations: 0 / 0.5172 GB, free: 6.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.006099/0.4501, allocations: 1.886 MB / 0.519 GB, free: 4.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.4502, allocations: 59.91 kB / 0.5191 GB, free: 4.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/0.4506, allocations: 324.2 kB / 0.5194 GB, free: 3.766 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.676e-05/0.4507, allocations: 41.69 kB / 0.5194 GB, free: 3.719 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.4508, allocations: 196.7 kB / 0.5196 GB, free: 3.523 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.451, allocations: 198.3 kB / 0.5198 GB, free: 3.328 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.4512, allocations: 122.2 kB / 0.5199 GB, free: 3.203 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.4514, allocations: 346.8 kB / 0.5203 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004285/0.4518, allocations: 237.2 kB / 0.5205 GB, free: 2.625 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007179/0.4525, allocations: 344.3 kB / 0.5208 GB, free: 2.258 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.4538, allocations: 0.6034 MB / 0.5214 GB, free: 1.621 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4538, allocations: 0 / 0.5214 GB, free: 1.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002008/0.4559, allocations: 0.7558 MB / 0.5222 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.4559, allocations: 11.94 kB / 0.5222 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.4559, allocations: 3.938 kB / 0.5222 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005391/0.4564, allocations: 110.7 kB / 0.5223 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005477/0.457, allocations: 119.9 kB / 0.5224 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003016/0.46, allocations: 3.273 MB / 0.5256 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.4603, allocations: 12 kB / 0.5256 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.768e-05/0.4604, allocations: 35.98 kB / 0.5256 GB, free: 13.03 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 (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.0003245/0.4607, allocations: 201.7 kB / 0.5258 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003151/0.4611, allocations: 47.77 kB / 0.5259 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.4628, allocations: 0.8036 MB / 0.5267 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.4628, allocations: 4 kB / 0.5267 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4628, allocations: 4 kB / 0.5267 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001252/0.464, allocations: 0.7596 MB / 0.5274 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.4664, allocations: 1.277 MB / 0.5286 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.4664, allocations: 4 kB / 0.5287 GB, free: 9.754 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004761/0.4669, allocations: 99.88 kB / 0.5287 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009614/0.4678, allocations: 152.7 kB / 0.5289 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/0.4679, allocations: 15.98 kB / 0.5289 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005202/0.4684, allocations: 0.6407 MB / 0.5295 GB, free: 8.824 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4684, allocations: 8 kB / 0.5295 GB, free: 8.816 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.4703, allocations: 0.9015 MB / 0.5304 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.4704, allocations: 39.8 kB / 0.5305 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.515e-05/0.4704, allocations: 15.98 kB / 0.5305 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/0.4708, allocations: 23.98 kB / 0.5305 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.4709, allocations: 36.38 kB / 0.5305 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.471, allocations: 23.98 kB / 0.5306 GB, free: 7.754 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003248/0.4713, allocations: 263 kB / 0.5308 GB, free: 7.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4713, allocations: 0 / 0.5308 GB, free: 7.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004159/0.4754, allocations: 1.341 MB / 0.5321 GB, free: 6.156 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.006172/0.4816, allocations: 1.694 MB / 0.5338 GB, free: 4.449 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.4834, allocations: 0.7766 MB / 0.5345 GB, free: 3.645 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.4835, allocations: 8.188 kB / 0.5345 GB, free: 3.637 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006066/0.4841, allocations: 279.2 kB / 0.5348 GB, free: 3.363 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.4855, allocations: 276.8 kB / 0.5351 GB, free: 3.094 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.4878, allocations: 1.16 MB / 0.5362 GB, free: 1.891 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005353/0.4883, allocations: 0.8364 MB / 0.537 GB, free: 1.023 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.4886, allocations: 71.41 kB / 0.5371 GB, free: 0.957 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4886, allocations: 0 / 0.5371 GB, free: 0.957 MB / 446.1 MB Notification: Performance of Templates: time 0.2717/0.7603, allocations: 34.18 MB / 0.5705 GB, free: 81.03 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 16.71252670418471]