Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001653/0.001653, allocations: 131.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002037/0.002037, allocations: 211.6 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 230.4 MB / 254 MB, free: 15.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 63.89 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09498/0.09685, allocations: 53.37 MB / 426.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2515/0.3483, allocations: 50.88 MB / 477.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006906/0.3552, allocations: 5.219 MB / 482.5 MB, free: 7.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.3555, allocations: 2.812 kB / 482.5 MB, free: 7.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007298/0.3562, allocations: 255.1 kB / 482.7 MB, free: 7.586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006627/0.3569, allocations: 363.6 kB / 483.1 MB, free: 7.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01683/0.3737, allocations: 7.15 MB / 490.2 MB, free: 3.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.3752, allocations: 1.092 MB / 491.3 MB, free: 2.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.3754, allocations: 105.1 kB / 491.4 MB, free: 2.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006789/0.3822, allocations: 3.621 MB / 495 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005759/0.3828, allocations: 436.7 kB / 495.5 MB, free: 436 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.58e-05/0.3829, allocations: 58.34 kB / 495.5 MB, free: 436 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01726/0.4001, allocations: 10.12 MB / 0.4938 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003552/0.4005, allocations: 219.4 kB / 0.494 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004917/0.401, allocations: 306.9 kB / 0.4943 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01188/0.4129, allocations: 5.534 MB / 0.4997 GB, free: 4.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4129, allocations: 0 / 0.4997 GB, free: 4.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4129, allocations: 0 / 0.4997 GB, free: 4.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.4129, allocations: 0 / 0.4997 GB, free: 4.59 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.003438/0.4163, allocations: 1.406 MB / 0.5011 GB, free: 3.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4164, allocations: 12.03 kB / 0.5011 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/0.4165, allocations: 86.52 kB / 0.5012 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003356/0.4168, allocations: 63.66 kB / 0.5012 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/0.4173, allocations: 367.3 kB / 0.5016 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.4174, allocations: 37 kB / 0.5016 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.478e-05/0.4174, allocations: 44 kB / 0.5017 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.4187, allocations: 0.5804 MB / 0.5022 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.4187, allocations: 0 / 0.5022 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-05/0.4188, allocations: 24 kB / 0.5022 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.4188, allocations: 13.02 kB / 0.5023 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.4203, allocations: 0.7417 MB / 0.503 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01762/0.4379, allocations: 11.96 MB / 0.5147 GB, free: 3.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.4392, allocations: 0.5051 MB / 0.5152 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003886/0.4396, allocations: 245 kB / 0.5154 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01561/0.4552, allocations: 11.89 MB / 0.527 GB, free: 4.141 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.4552, allocations: 47.92 kB / 0.527 GB, free: 4.086 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.094e-06/0.4552, allocations: 3.938 kB / 0.527 GB, free: 4.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.00605/0.4613, allocations: 2.114 MB / 0.5291 GB, free: 1.891 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.4613, allocations: 63.91 kB / 0.5292 GB, free: 1.816 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.4617, allocations: 326.9 kB / 0.5295 GB, free: 1.488 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.266e-05/0.4618, allocations: 37.7 kB / 0.5295 GB, free: 1.445 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.4619, allocations: 192.8 kB / 0.5297 GB, free: 1.254 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.4621, allocations: 214.2 kB / 0.5299 GB, free: 1.043 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.4623, allocations: 110.2 kB / 0.53 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4624, allocations: 350.8 kB / 0.5303 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.4628, allocations: 241 kB / 0.5306 GB, free: 352 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006961/0.4635, allocations: 340.5 kB / 0.5309 GB, free: 15.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.4648, allocations: 0.6033 MB / 0.5315 GB, free: 15.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4648, allocations: 0 / 0.5315 GB, free: 15.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001875/0.4667, allocations: 0.7483 MB / 0.5322 GB, free: 14.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.4667, allocations: 11.94 kB / 0.5322 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.4667, allocations: 7.938 kB / 0.5322 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005333/0.4672, allocations: 102.5 kB / 0.5323 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/0.4677, allocations: 127.8 kB / 0.5325 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/0.4706, allocations: 3.479 MB / 0.5359 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.4709, allocations: 16 kB / 0.5359 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.607e-05/0.471, allocations: 31.98 kB / 0.5359 GB, free: 10.5 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.0002827/0.4713, allocations: 189.6 kB / 0.5361 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002881/0.4716, allocations: 43.77 kB / 0.5361 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.4732, allocations: 0.8153 MB / 0.5369 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4732, allocations: 4 kB / 0.5369 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.4732, allocations: 0 / 0.5369 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001201/0.4744, allocations: 0.7596 MB / 0.5377 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.4767, allocations: 1.317 MB / 0.5389 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4767, allocations: 0 / 0.5389 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000464/0.4771, allocations: 95.89 kB / 0.539 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009346/0.4781, allocations: 148.7 kB / 0.5392 GB, free: 6.945 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.54e-05/0.4781, allocations: 23.92 kB / 0.5392 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000476/0.4786, allocations: 0.6523 MB / 0.5398 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4786, allocations: 0 / 0.5398 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.4804, allocations: 0.9063 MB / 0.5407 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.4805, allocations: 113 kB / 0.5408 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.051e-05/0.4806, allocations: 13.06 kB / 0.5408 GB, free: 5.172 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.481, allocations: 19.98 kB / 0.5409 GB, free: 5.152 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/0.481, allocations: 39.19 kB / 0.5409 GB, free: 5.117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.717e-05/0.4811, allocations: 31.97 kB / 0.5409 GB, free: 5.086 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003079/0.4814, allocations: 257.9 kB / 0.5412 GB, free: 4.836 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4814, allocations: 0 / 0.5412 GB, free: 4.836 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003767/0.4852, allocations: 1.337 MB / 0.5425 GB, free: 3.496 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.008138/0.4933, allocations: 3.052 MB / 0.5455 GB, free: 420 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.495, allocations: 0.7766 MB / 0.5462 GB, free: 15.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.495, allocations: 0 / 0.5462 GB, free: 15.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006159/0.4957, allocations: 279.2 kB / 0.5465 GB, free: 15.33 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.4971, allocations: 281 kB / 0.5468 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00959/0.5067, allocations: 5.315 MB / 0.5519 GB, free: 9.562 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.5072, allocations: 0.8326 MB / 0.5528 GB, free: 8.703 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005322/0.5077, allocations: 144.2 kB / 0.5529 GB, free: 8.559 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.508, allocations: 155.4 kB / 0.553 GB, free: 8.406 MB / 462.1 MB Notification: Performance of SimCode: time 8.12e-07/0.508, allocations: 0 / 0.553 GB, free: 8.406 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1194/0.6274, allocations: 50.68 MB / 0.6025 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.06, allocations: 6.484 kB / 0.6025 GB, free: 5.812 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.274065437959507]