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.001706/0.001706, 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.002069/0.002069, 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.499/1.499, allocations: 230.6 MB / 254.8 MB, free: 15.21 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.002571/0.002571, allocations: 47.92 kB / 374.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1343, allocations: 53.34 MB / 427.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2636/0.3979, allocations: 50.87 MB / 478.4 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008043/0.406, allocations: 5.218 MB / 483.6 MB, free: 8.012 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004026/0.4064, allocations: 8.062 kB / 483.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008454/0.4072, allocations: 257.5 kB / 483.8 MB, free: 7.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008163/0.408, allocations: 368.5 kB / 484.2 MB, free: 7.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01948/0.4275, allocations: 7.136 MB / 491.3 MB, free: 3.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001784/0.4293, allocations: 1.096 MB / 492.4 MB, free: 2.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002578/0.4295, allocations: 107.8 kB / 492.5 MB, free: 2.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007174/0.4367, allocations: 3.625 MB / 496.2 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00062/0.4373, allocations: 423.4 kB / 496.6 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.977e-05/0.4374, allocations: 58.22 kB / 496.6 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01891/0.4563, allocations: 10.12 MB / 0.4949 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003878/0.4567, allocations: 227.4 kB / 0.4951 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005332/0.4573, allocations: 306.8 kB / 0.4954 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01343/0.4707, allocations: 5.534 MB / 0.5008 GB, free: 4.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4707, allocations: 4 kB / 0.5008 GB, free: 4.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4707, allocations: 0 / 0.5008 GB, free: 4.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.4707, allocations: 0 / 0.5008 GB, free: 4.555 MB / 398.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.003634/0.4743, allocations: 1.402 MB / 0.5022 GB, free: 3.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.4744, allocations: 12.03 kB / 0.5022 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003543/0.4747, allocations: 71.66 kB / 0.5023 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005807/0.4753, allocations: 354.3 kB / 0.5026 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.4753, allocations: 29 kB / 0.5026 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.204e-05/0.4754, allocations: 49.44 kB / 0.5027 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.4768, allocations: 0.5881 MB / 0.5032 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.4768, allocations: 4 kB / 0.5032 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-05/0.4769, allocations: 16 kB / 0.5033 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.4769, allocations: 12 kB / 0.5033 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.4783, allocations: 0.7456 MB / 0.504 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01808/0.4964, allocations: 11.96 MB / 0.5157 GB, free: 3.156 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.4978, allocations: 0.5117 MB / 0.5162 GB, free: 2.637 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004042/0.4982, allocations: 246 kB / 0.5164 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01653/0.5147, allocations: 11.88 MB / 0.528 GB, free: 4.207 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.425e-05/0.5148, allocations: 42.94 kB / 0.5281 GB, free: 4.156 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.515e-06/0.5148, allocations: 7.938 kB / 0.5281 GB, free: 4.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.006176/0.521, allocations: 2.125 MB / 0.5301 GB, free: 1.945 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.521, allocations: 55.97 kB / 0.5302 GB, free: 1.879 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.5214, allocations: 322.9 kB / 0.5305 GB, free: 1.555 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.163e-05/0.5215, allocations: 37.7 kB / 0.5305 GB, free: 1.512 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.5216, allocations: 200.8 kB / 0.5307 GB, free: 1.312 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.5218, allocations: 202.3 kB / 0.5309 GB, free: 1.113 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.522, allocations: 114.2 kB / 0.531 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.5222, allocations: 346.8 kB / 0.5314 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004114/0.5226, allocations: 241 kB / 0.5316 GB, free: 424 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006845/0.5233, allocations: 336.5 kB / 0.5319 GB, free: 52 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.5245, allocations: 0.6073 MB / 0.5325 GB, free: 15.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5245, allocations: 0 / 0.5325 GB, free: 15.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00195/0.5265, allocations: 0.7442 MB / 0.5332 GB, free: 14.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.5265, allocations: 7.984 kB / 0.5332 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.5265, allocations: 7.938 kB / 0.5332 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005255/0.527, allocations: 106.8 kB / 0.5333 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005281/0.5276, allocations: 123.8 kB / 0.5335 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003042/0.5306, allocations: 3.481 MB / 0.5369 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.531, allocations: 12 kB / 0.5369 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.111e-05/0.531, allocations: 36.16 kB / 0.5369 GB, free: 10.58 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.0003057/0.5313, allocations: 201.6 kB / 0.5371 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/0.5317, allocations: 47.77 kB / 0.5371 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.5333, allocations: 0.8057 MB / 0.5379 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.5333, allocations: 12 kB / 0.5379 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.5333, allocations: 0 / 0.5379 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/0.5346, allocations: 0.7557 MB / 0.5387 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.5368, allocations: 1.305 MB / 0.54 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5368, allocations: 0 / 0.54 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000464/0.5373, allocations: 99.88 kB / 0.5401 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009485/0.5382, allocations: 148.7 kB / 0.5402 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.5383, allocations: 23.92 kB / 0.5402 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005132/0.5388, allocations: 0.6484 MB / 0.5408 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5388, allocations: 3.984 kB / 0.5409 GB, free: 6.324 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.5406, allocations: 0.9056 MB / 0.5417 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.5407, allocations: 117 kB / 0.5418 GB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.302e-05/0.5408, allocations: 16.8 kB / 0.5419 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.5412, allocations: 23.98 kB / 0.5419 GB, free: 5.219 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.5413, allocations: 32.39 kB / 0.5419 GB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.276e-05/0.5413, allocations: 23.98 kB / 0.5419 GB, free: 5.164 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003189/0.5417, allocations: 261.9 kB / 0.5422 GB, free: 4.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5417, allocations: 0 / 0.5422 GB, free: 4.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003755/0.5454, allocations: 1.337 MB / 0.5435 GB, free: 3.57 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.005555/0.551, allocations: 1.7 MB / 0.5452 GB, free: 1.867 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.5526, allocations: 0.7804 MB / 0.5459 GB, free: 1.059 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5526, allocations: 4 kB / 0.5459 GB, free: 1.055 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005914/0.5532, allocations: 283.2 kB / 0.5462 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.5547, allocations: 271.3 kB / 0.5465 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.5568, allocations: 1.142 MB / 0.5476 GB, free: 15.33 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/0.5573, allocations: 0.8365 MB / 0.5484 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.5575, allocations: 63.42 kB / 0.5484 GB, free: 14.41 MB / 462.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5575, allocations: 0 / 0.5484 GB, free: 14.41 MB / 462.1 MB Notification: Performance of Templates: time 0.05286/0.6104, allocations: 34.17 MB / 0.5818 GB, free: 12.24 MB / 494.1 MB " [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/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_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.1472465210245]