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.001753/0.001753, allocations: 113 kB / 19.04 MB, free: 3.234 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.001981/0.001981, allocations: 201.9 kB / 22.22 MB, free: 52 kB / 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.429/1.429, allocations: 225.6 MB / 250.8 MB, free: 13.35 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.001574/0.001574, allocations: 51.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2259, allocations: 52.14 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06116/0.2871, allocations: 51.04 MB / 471.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006791/0.2939, allocations: 5.234 MB / 477.1 MB, free: 6.625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.2941, allocations: 7.938 kB / 477.1 MB, free: 6.617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.2949, allocations: 258.6 kB / 477.4 MB, free: 6.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006277/0.2955, allocations: 365.9 kB / 477.8 MB, free: 6.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01668/0.3122, allocations: 7.147 MB / 484.9 MB, free: 14.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001433/0.3136, allocations: 1.095 MB / 486 MB, free: 13.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/0.3139, allocations: 97.59 kB / 486.1 MB, free: 13.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006247/0.3201, allocations: 3.64 MB / 489.7 MB, free: 10.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005426/0.3206, allocations: 426.6 kB / 490.2 MB, free: 9.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.048e-05/0.3207, allocations: 63.94 kB / 490.2 MB, free: 9.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0177/0.3384, allocations: 10.08 MB / 0.4886 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003346/0.3388, allocations: 223.5 kB / 0.4888 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004551/0.3392, allocations: 310.8 kB / 0.4891 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.3507, allocations: 5.515 MB / 0.4945 GB, free: 9.387 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3507, allocations: 0 / 0.4945 GB, free: 9.387 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3507, allocations: 3.938 kB / 0.4945 GB, free: 9.383 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.3507, allocations: 3.984 kB / 0.4945 GB, free: 9.379 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.00299/0.3537, allocations: 1.399 MB / 0.4958 GB, free: 7.926 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3538, allocations: 15.89 kB / 0.4959 GB, free: 7.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000334/0.3541, allocations: 55.72 kB / 0.4959 GB, free: 7.855 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/0.3546, allocations: 366.2 kB / 0.4963 GB, free: 7.457 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/0.3547, allocations: 41 kB / 0.4963 GB, free: 7.414 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.778e-05/0.3547, allocations: 40 kB / 0.4963 GB, free: 7.375 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.3561, allocations: 0.5881 MB / 0.4969 GB, free: 6.777 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.3561, allocations: 7.938 kB / 0.4969 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.75e-05/0.3562, allocations: 16 kB / 0.4969 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.3562, allocations: 8 kB / 0.4969 GB, free: 6.746 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.3576, allocations: 0.7456 MB / 0.4977 GB, free: 6.004 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01755/0.3752, allocations: 11.97 MB / 0.5094 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.3765, allocations: 0.5041 MB / 0.5098 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004185/0.3769, allocations: 245.2 kB / 0.5101 GB, free: 7.207 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01634/0.3933, allocations: 11.9 MB / 0.5217 GB, free: 9.004 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.3933, allocations: 39 kB / 0.5217 GB, free: 8.957 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.003e-06/0.3933, allocations: 0 / 0.5217 GB, free: 8.957 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.005927/0.3992, allocations: 2.132 MB / 0.5238 GB, free: 6.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.3993, allocations: 59.97 kB / 0.5239 GB, free: 6.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.3997, allocations: 319 kB / 0.5242 GB, free: 6.344 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.986e-05/0.3997, allocations: 37.7 kB / 0.5242 GB, free: 6.301 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.3999, allocations: 204.7 kB / 0.5244 GB, free: 6.098 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.4001, allocations: 198.3 kB / 0.5246 GB, free: 5.902 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.4003, allocations: 118.2 kB / 0.5247 GB, free: 5.781 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4004, allocations: 346.8 kB / 0.525 GB, free: 5.434 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004093/0.4008, allocations: 237 kB / 0.5253 GB, free: 5.199 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006883/0.4015, allocations: 339.4 kB / 0.5256 GB, free: 4.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.4028, allocations: 0.6034 MB / 0.5262 GB, free: 4.203 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4028, allocations: 0 / 0.5262 GB, free: 4.203 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001866/0.4046, allocations: 0.7558 MB / 0.5269 GB, free: 3.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.4047, allocations: 11.92 kB / 0.5269 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.4047, allocations: 4 kB / 0.5269 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000491/0.4052, allocations: 102.8 kB / 0.527 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/0.4057, allocations: 127.8 kB / 0.5272 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/0.4085, allocations: 3.48 MB / 0.5306 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.4088, allocations: 12 kB / 0.5306 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.932e-05/0.4089, allocations: 35.98 kB / 0.5306 GB, free: 15.35 MB / 462.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.0002735/0.4091, allocations: 197.7 kB / 0.5308 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002874/0.4094, allocations: 51.75 kB / 0.5308 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.4111, allocations: 0.8151 MB / 0.5316 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.4111, allocations: 4 kB / 0.5316 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.4111, allocations: 4 kB / 0.5316 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/0.4123, allocations: 0.7635 MB / 0.5324 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/0.4145, allocations: 1.297 MB / 0.5337 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.4145, allocations: 4 kB / 0.5337 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/0.4149, allocations: 95.89 kB / 0.5337 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009333/0.4158, allocations: 156.6 kB / 0.5339 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.733e-05/0.4159, allocations: 15.98 kB / 0.5339 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005243/0.4164, allocations: 0.6445 MB / 0.5345 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4164, allocations: 0 / 0.5345 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.4182, allocations: 0.9133 MB / 0.5354 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.4183, allocations: 116.9 kB / 0.5355 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.349e-05/0.4184, allocations: 15.98 kB / 0.5356 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.4188, allocations: 24.08 kB / 0.5356 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/0.4189, allocations: 36.39 kB / 0.5356 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.371e-05/0.4189, allocations: 23.98 kB / 0.5356 GB, free: 9.934 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003049/0.4192, allocations: 257.9 kB / 0.5359 GB, free: 9.676 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4192, allocations: 0 / 0.5359 GB, free: 9.676 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00362/0.4228, allocations: 1.329 MB / 0.5372 GB, free: 8.344 MB / 462.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.005584/0.4284, allocations: 1.697 MB / 0.5388 GB, free: 6.641 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.4302, allocations: 0.7844 MB / 0.5396 GB, free: 5.824 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4302, allocations: 0 / 0.5396 GB, free: 5.824 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005865/0.4308, allocations: 283.2 kB / 0.5399 GB, free: 5.547 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.4322, allocations: 273.5 kB / 0.5401 GB, free: 5.281 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.4343, allocations: 1.105 MB / 0.5412 GB, free: 4.141 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.4348, allocations: 0.8326 MB / 0.542 GB, free: 3.281 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005171/0.4353, allocations: 152.2 kB / 0.5422 GB, free: 3.129 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.4355, allocations: 55.42 kB / 0.5422 GB, free: 3.078 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4355, allocations: 4 kB / 0.5422 GB, free: 3.074 MB / 462.1 MB Notification: Performance of Templates: time 0.2243/0.6597, allocations: 45.27 MB / 0.5864 GB, free: 95.52 MB / 462.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.068370576016605]