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.0009416/0.0009416, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001028/0.001028, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8942/0.8942, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.293e-06/1.293e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.307e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.03076/0.03077, allocations: 45.44 MB / 370 MB, free: 2.328 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003825/0.0346, allocations: 4.697 MB / 374.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.03475, allocations: 11.94 kB / 374.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005508/0.03531, allocations: 234.5 kB / 375 MB, free: 13.38 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004525/0.03576, allocations: 385.5 kB / 375.3 MB, free: 13 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01316/0.04892, allocations: 7.199 MB / 382.5 MB, free: 5.793 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001576/0.0505, allocations: 1.103 MB / 383.6 MB, free: 4.688 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.05076, allocations: 97.83 kB / 383.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004894/0.05565, allocations: 3.774 MB / 387.5 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005241/0.05618, allocations: 367 kB / 387.9 MB, free: 460 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.669e-05/0.05626, allocations: 60 kB / 387.9 MB, free: 400 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0115/0.06776, allocations: 9.361 MB / 397.3 MB, free: 7.016 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.06795, allocations: 243.3 kB / 397.5 MB, free: 6.777 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.06815, allocations: 239.5 kB / 397.7 MB, free: 6.543 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008801/0.07695, allocations: 6.704 MB / 404.5 MB, free: 15.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.07696, allocations: 0 / 404.5 MB, free: 15.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.07696, allocations: 3.938 kB / 404.5 MB, free: 15.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.07697, allocations: 0 / 404.5 MB, free: 15.82 MB / 378.7 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.002938/0.07991, allocations: 1.319 MB / 405.8 MB, free: 14.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.07996, allocations: 12.03 kB / 405.8 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.08007, allocations: 82.53 kB / 405.9 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002596/0.08033, allocations: 59.7 kB / 405.9 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.08071, allocations: 308.4 kB / 406.2 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.08073, allocations: 37 kB / 406.3 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-05/0.08078, allocations: 40 kB / 406.3 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008569/0.08164, allocations: 0.8933 MB / 407.2 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.08166, allocations: 0 / 407.2 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.055e-05/0.0817, allocations: 24 kB / 407.2 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.0817, allocations: 8 kB / 407.2 MB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007977/0.0825, allocations: 0.7417 MB / 408 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006103/0.0886, allocations: 3.654 MB / 411.6 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007616/0.08937, allocations: 0.497 MB / 412.1 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.0896, allocations: 246.2 kB / 412.4 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004635/0.09423, allocations: 2.561 MB / 414.9 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.09426, allocations: 47.06 kB / 415 MB, free: 5.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 2.394e-06/0.09427, allocations: 0 / 415 MB, free: 5.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=55): time 0.003184/0.09745, allocations: 1.884 MB / 416.9 MB, free: 3.164 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.09748, allocations: 63.91 kB / 416.9 MB, free: 3.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.09773, allocations: 328.1 kB / 417.2 MB, free: 2.758 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.09776, allocations: 37.7 kB / 417.3 MB, free: 2.715 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.523e-05/0.09786, allocations: 200.8 kB / 417.5 MB, free: 2.512 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.366e-05/0.09795, allocations: 198.2 kB / 417.7 MB, free: 2.316 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.09807, allocations: 114.3 kB / 417.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.224e-05/0.09816, allocations: 346.8 kB / 418.1 MB, free: 1.852 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.09841, allocations: 241.2 kB / 418.3 MB, free: 1.617 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.0988, allocations: 344.3 kB / 418.7 MB, free: 1.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007167/0.09952, allocations: 0.6007 MB / 419.3 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.09952, allocations: 0 / 419.3 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00106/0.1006, allocations: 0.7535 MB / 420 MB, free: 15.85 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1006, allocations: 8 kB / 420 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1006, allocations: 0 / 420 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002705/0.1009, allocations: 114.4 kB / 420.2 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.1011, allocations: 123.8 kB / 420.3 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.1028, allocations: 3.262 MB / 423.5 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.1029, allocations: 15.98 kB / 423.6 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.103, allocations: 28 kB / 423.6 MB, free: 12.04 MB / 394.7 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.0001705/0.1031, allocations: 201.9 kB / 423.8 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.1033, allocations: 47.77 kB / 423.8 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009318/0.1042, allocations: 0.8204 MB / 424.6 MB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1042, allocations: 8 kB / 424.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1042, allocations: 0 / 424.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006703/0.1049, allocations: 0.7611 MB / 425.4 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.1061, allocations: 1.173 MB / 426.6 MB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1061, allocations: 8.047 kB / 426.6 MB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.1063, allocations: 99.83 kB / 426.7 MB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004387/0.1068, allocations: 148.7 kB / 426.8 MB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.1068, allocations: 23.98 kB / 426.9 MB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002387/0.1071, allocations: 0.6445 MB / 427.5 MB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.1071, allocations: 8.031 kB / 427.5 MB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009916/0.108, allocations: 0.9033 MB / 428.4 MB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.1081, allocations: 39.8 kB / 428.5 MB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.1081, allocations: 12 kB / 428.5 MB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.1083, allocations: 23.98 kB / 428.5 MB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.1084, allocations: 32.44 kB / 428.5 MB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.1084, allocations: 36.06 kB / 428.6 MB, free: 6.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001798/0.1086, allocations: 251 kB / 428.8 MB, free: 6.598 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1086, allocations: 0 / 428.8 MB, free: 6.598 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00266/0.1112, allocations: 1.341 MB / 430.1 MB, free: 5.254 MB / 394.7 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.005107/0.1163, allocations: 3.226 MB / 433.4 MB, free: 1.988 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009217/0.1173, allocations: 0.7737 MB / 434.1 MB, free: 1.184 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1173, allocations: 0 / 434.1 MB, free: 1.184 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.1176, allocations: 280.2 kB / 434.4 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007444/0.1183, allocations: 291.7 kB / 434.7 MB, free: 0.625 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005562/0.1239, allocations: 5.258 MB / 440 MB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.1241, allocations: 233.6 kB / 440.2 MB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003646/0.1244, allocations: 152.2 kB / 440.3 MB, free: 10.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.1246, allocations: 156.4 kB / 440.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1246, allocations: 4 kB / 440.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1981/0.3227, allocations: 52.6 MB / 493.1 MB, free: 81.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.315/9.638, allocations: 3.984 kB / 493.1 MB, free: 81.95 MB / 410.7 MB " [Timeout remaining time 650] (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/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: 15.848160183988512]