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.001828/0.001828, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.002315/0.002315, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.521/1.521, allocations: 230.6 MB / 254.1 MB, free: 15.07 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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 47.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1038, allocations: 53.32 MB / 426.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2506/0.3544, allocations: 50.87 MB / 477.2 MB, free: 9.266 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007153/0.3615, allocations: 5.225 MB / 482.4 MB, free: 5.027 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.3618, allocations: 2.875 kB / 482.4 MB, free: 5.027 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008559/0.3627, allocations: 261 kB / 482.7 MB, free: 4.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008477/0.3635, allocations: 368.8 kB / 483 MB, free: 4.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02074/0.3843, allocations: 7.152 MB / 490.2 MB, free: 15.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001622/0.3859, allocations: 1.092 MB / 491.3 MB, free: 15.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.3862, allocations: 111.2 kB / 491.4 MB, free: 14.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007056/0.3932, allocations: 3.61 MB / 495 MB, free: 12.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006562/0.3939, allocations: 430.5 kB / 495.4 MB, free: 11.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.394, allocations: 60 kB / 495.5 MB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02066/0.4146, allocations: 10.12 MB / 0.4937 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004145/0.4151, allocations: 227.4 kB / 0.494 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005664/0.4156, allocations: 306.9 kB / 0.4943 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01518/0.4308, allocations: 5.534 MB / 0.4997 GB, free: 11.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.4308, allocations: 0 / 0.4997 GB, free: 11.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4308, allocations: 3.938 kB / 0.4997 GB, free: 11.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.4308, allocations: 0 / 0.4997 GB, free: 11.5 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.004029/0.4349, allocations: 1.402 MB / 0.501 GB, free: 10.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.4349, allocations: 16.03 kB / 0.501 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.435, allocations: 86.52 kB / 0.5011 GB, free: 9.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003657/0.4354, allocations: 63.66 kB / 0.5012 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/0.436, allocations: 370.2 kB / 0.5015 GB, free: 9.465 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.436, allocations: 29.94 kB / 0.5016 GB, free: 9.434 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.759e-05/0.4361, allocations: 44 kB / 0.5016 GB, free: 9.391 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.4375, allocations: 0.5843 MB / 0.5022 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.4375, allocations: 7.938 kB / 0.5022 GB, free: 8.793 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.013e-05/0.4375, allocations: 21.08 kB / 0.5022 GB, free: 8.773 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.4375, allocations: 8 kB / 0.5022 GB, free: 8.766 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.439, allocations: 0.7456 MB / 0.503 GB, free: 8.023 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01805/0.457, allocations: 11.95 MB / 0.5146 GB, free: 9.996 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.4584, allocations: 0.5156 MB / 0.5151 GB, free: 9.469 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003972/0.4588, allocations: 238.1 kB / 0.5154 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01593/0.4748, allocations: 11.88 MB / 0.527 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.242e-05/0.4748, allocations: 47.88 kB / 0.527 GB, free: 10.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.645e-06/0.4748, allocations: 0 / 0.527 GB, free: 10.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.006199/0.481, allocations: 2.125 MB / 0.5291 GB, free: 8.785 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.4811, allocations: 59.97 kB / 0.5291 GB, free: 8.715 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004076/0.4815, allocations: 318.9 kB / 0.5294 GB, free: 8.391 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.21e-05/0.4816, allocations: 37.7 kB / 0.5295 GB, free: 8.348 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.4817, allocations: 200.7 kB / 0.5297 GB, free: 8.148 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.4819, allocations: 202.3 kB / 0.5299 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.4821, allocations: 114.2 kB / 0.53 GB, free: 7.832 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4823, allocations: 350.8 kB / 0.5303 GB, free: 7.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004156/0.4827, allocations: 241 kB / 0.5305 GB, free: 7.246 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007057/0.4834, allocations: 335.4 kB / 0.5309 GB, free: 6.883 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.4846, allocations: 0.6073 MB / 0.5314 GB, free: 6.242 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4846, allocations: 0 / 0.5314 GB, free: 6.242 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001971/0.4866, allocations: 0.748 MB / 0.5322 GB, free: 5.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.4867, allocations: 7.938 kB / 0.5322 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.4867, allocations: 4.281 kB / 0.5322 GB, free: 5.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000532/0.4872, allocations: 106.5 kB / 0.5323 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/0.4877, allocations: 128.9 kB / 0.5324 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/0.4908, allocations: 3.469 MB / 0.5358 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/0.4912, allocations: 24.22 kB / 0.5358 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.155e-05/0.4913, allocations: 31.98 kB / 0.5359 GB, free: 1.406 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.0003425/0.4917, allocations: 189.6 kB / 0.536 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000349/0.492, allocations: 55.69 kB / 0.5361 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.4937, allocations: 0.8151 MB / 0.5369 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.4937, allocations: 4 kB / 0.5369 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.4937, allocations: 0 / 0.5369 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001279/0.495, allocations: 0.7635 MB / 0.5376 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.4972, allocations: 1.301 MB / 0.5389 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.4973, allocations: 0 / 0.5389 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/0.4977, allocations: 95.95 kB / 0.539 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009795/0.4987, allocations: 156.6 kB / 0.5391 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-05/0.4987, allocations: 15.98 kB / 0.5392 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004974/0.4992, allocations: 0.6523 MB / 0.5398 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4992, allocations: 0 / 0.5398 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.501, allocations: 0.9057 MB / 0.5407 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.5011, allocations: 116.9 kB / 0.5408 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.915e-05/0.5012, allocations: 15.94 kB / 0.5408 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000408/0.5016, allocations: 23.97 kB / 0.5408 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.5017, allocations: 36.39 kB / 0.5409 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.283e-05/0.5018, allocations: 23.98 kB / 0.5409 GB, free: 11.99 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003064/0.5021, allocations: 257.9 kB / 0.5411 GB, free: 11.74 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5021, allocations: 0 / 0.5411 GB, free: 11.74 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00407/0.5061, allocations: 1.333 MB / 0.5424 GB, free: 10.41 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.008045/0.5142, allocations: 3.055 MB / 0.5454 GB, free: 7.316 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.5159, allocations: 0.7728 MB / 0.5462 GB, free: 6.512 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.5159, allocations: 4.125 kB / 0.5462 GB, free: 6.508 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005804/0.5165, allocations: 279.2 kB / 0.5464 GB, free: 6.234 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.5179, allocations: 269.9 kB / 0.5467 GB, free: 5.973 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009984/0.5279, allocations: 5.325 MB / 0.5519 GB, free: 480 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.5284, allocations: 0.8365 MB / 0.5527 GB, free: 15.61 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006083/0.5291, allocations: 148.1 kB / 0.5529 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/0.5293, allocations: 159.4 kB / 0.553 GB, free: 15.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.272e-06/0.5294, allocations: 0 / 0.553 GB, free: 15.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/0.6399, allocations: 50.68 MB / 0.6025 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/15.13, allocations: 18.73 kB / 0.6025 GB, free: 12.78 MB / 0.5137 GB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv","/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: 24.627262401991175]