Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001844/0.001844, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002169/0.002169, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.519/1.519, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.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_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_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 47.92 kB / 373.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09327/0.09494, allocations: 53.34 MB / 426.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2328/0.3277, allocations: 50.88 MB / 477.7 MB, free: 9.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007496/0.3352, allocations: 5.225 MB / 482.9 MB, free: 5.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002441/0.3355, allocations: 3.219 kB / 482.9 MB, free: 5.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008746/0.3364, allocations: 257.6 kB / 483.2 MB, free: 4.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007367/0.3371, allocations: 367.5 kB / 483.5 MB, free: 4.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01976/0.3569, allocations: 7.158 MB / 490.7 MB, free: 15.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001524/0.3584, allocations: 1.092 MB / 491.8 MB, free: 15.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.3586, allocations: 104.3 kB / 491.9 MB, free: 15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006848/0.3655, allocations: 3.623 MB / 495.5 MB, free: 12.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006694/0.3661, allocations: 430.6 kB / 495.9 MB, free: 11.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.984e-05/0.3662, allocations: 67.94 kB / 496 MB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01971/0.3859, allocations: 10.11 MB / 0.4942 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003577/0.3863, allocations: 219.5 kB / 0.4944 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000518/0.3868, allocations: 310.8 kB / 0.4947 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.3993, allocations: 5.53 MB / 0.5001 GB, free: 11.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3993, allocations: 3.938 kB / 0.5001 GB, free: 11.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3993, allocations: 0 / 0.5001 GB, free: 11.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.3993, allocations: 0 / 0.5001 GB, free: 11.34 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.003419/0.4028, allocations: 1.406 MB / 0.5015 GB, free: 9.883 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.4028, allocations: 12.03 kB / 0.5015 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003615/0.4032, allocations: 67.59 kB / 0.5016 GB, free: 9.805 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.4037, allocations: 362.3 kB / 0.5019 GB, free: 9.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.818e-05/0.4038, allocations: 33 kB / 0.502 GB, free: 9.375 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-05/0.4038, allocations: 50.52 kB / 0.502 GB, free: 9.328 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.4053, allocations: 0.5804 MB / 0.5026 GB, free: 8.742 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.4053, allocations: 3.938 kB / 0.5026 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.358e-05/0.4053, allocations: 24 kB / 0.5026 GB, free: 8.715 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.4053, allocations: 8 kB / 0.5026 GB, free: 8.707 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.4069, allocations: 0.7417 MB / 0.5033 GB, free: 7.969 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01818/0.4251, allocations: 11.96 MB / 0.515 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.4265, allocations: 0.5039 MB / 0.5155 GB, free: 9.426 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/0.4269, allocations: 242.4 kB / 0.5157 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01696/0.4439, allocations: 11.89 MB / 0.5273 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/0.4439, allocations: 47 kB / 0.5274 GB, free: 10.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.534e-06/0.4439, allocations: 0 / 0.5274 GB, free: 10.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.006427/0.4503, allocations: 2.12 MB / 0.5295 GB, free: 8.738 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.4504, allocations: 59.97 kB / 0.5295 GB, free: 8.668 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004148/0.4508, allocations: 322.9 kB / 0.5298 GB, free: 8.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.997e-05/0.4509, allocations: 37.7 kB / 0.5299 GB, free: 8.297 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.451, allocations: 196.8 kB / 0.5301 GB, free: 8.102 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.4512, allocations: 206.2 kB / 0.5302 GB, free: 7.898 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/0.4514, allocations: 122.1 kB / 0.5304 GB, free: 7.773 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.4516, allocations: 350.8 kB / 0.5307 GB, free: 7.422 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004409/0.452, allocations: 237 kB / 0.5309 GB, free: 7.191 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007382/0.4528, allocations: 339.3 kB / 0.5312 GB, free: 6.824 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.4541, allocations: 0.6112 MB / 0.5318 GB, free: 6.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4541, allocations: 0 / 0.5318 GB, free: 6.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002054/0.4562, allocations: 0.7519 MB / 0.5326 GB, free: 5.414 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.4562, allocations: 16.84 kB / 0.5326 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.4562, allocations: 0 / 0.5326 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000522/0.4567, allocations: 102.5 kB / 0.5327 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005651/0.4573, allocations: 127.8 kB / 0.5328 GB, free: 5.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003055/0.4603, allocations: 3.467 MB / 0.5362 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.4606, allocations: 20.03 kB / 0.5362 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-05/0.4607, allocations: 27.98 kB / 0.5362 GB, free: 1.352 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.0002808/0.461, allocations: 197.6 kB / 0.5364 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003292/0.4613, allocations: 43.77 kB / 0.5365 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.4631, allocations: 0.8152 MB / 0.5373 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.4631, allocations: 4 kB / 0.5373 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.4631, allocations: 0 / 0.5373 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001337/0.4645, allocations: 0.7596 MB / 0.538 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/0.4668, allocations: 1.305 MB / 0.5393 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.4668, allocations: 0.9375 kB / 0.5393 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/0.4673, allocations: 103.9 kB / 0.5394 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/0.4683, allocations: 144.6 kB / 0.5395 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.52e-05/0.4684, allocations: 23.98 kB / 0.5396 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000503/0.4689, allocations: 0.6445 MB / 0.5402 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.4689, allocations: 4.031 kB / 0.5402 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.4708, allocations: 0.9057 MB / 0.5411 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.4709, allocations: 120.8 kB / 0.5412 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.39e-05/0.471, allocations: 15.98 kB / 0.5412 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004203/0.4714, allocations: 24.06 kB / 0.5412 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.983e-05/0.4715, allocations: 32.39 kB / 0.5413 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.746e-05/0.4716, allocations: 31.92 kB / 0.5413 GB, free: 11.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003257/0.4719, allocations: 257.9 kB / 0.5415 GB, free: 11.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4719, allocations: 4 kB / 0.5415 GB, free: 11.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003681/0.4756, allocations: 1.337 MB / 0.5428 GB, free: 10.34 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.005368/0.4809, allocations: 1.69 MB / 0.5445 GB, free: 8.637 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.4826, allocations: 0.7763 MB / 0.5452 GB, free: 7.832 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4826, allocations: 0 / 0.5452 GB, free: 7.832 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006346/0.4833, allocations: 283.2 kB / 0.5455 GB, free: 7.555 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.4848, allocations: 277.4 kB / 0.5458 GB, free: 7.289 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.487, allocations: 1.108 MB / 0.5469 GB, free: 6.145 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/0.4875, allocations: 0.8287 MB / 0.5477 GB, free: 5.289 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000509/0.488, allocations: 148.2 kB / 0.5478 GB, free: 5.141 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.4881, allocations: 59.41 kB / 0.5479 GB, free: 5.086 MB / 462.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4881, allocations: 0 / 0.5479 GB, free: 5.086 MB / 462.1 MB Notification: Performance of Templates: time 0.06848/0.5566, allocations: 45.3 MB / 0.5921 GB, free: 7.832 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.49744550138712]